SDLNet : UDP sockets and channels
Hey guys.
Is there anyone using SDLNet-udp with channel binding? I was wondering if it is possible to assign more than one channel to a single UDP socket.
Because when I do so and try to receive packets on that socket afterwards, I only receive packets from IP addresses of the channel that was assigned last. So it seems that only one channel can be bound to a socket at a time. But if so, what is SDLNET_MAX_UDPCHANNELS good for, anyway?
Do I have to create a new UDP socket, if I want to use channels and want to handle more that 4 (SDLNET_MAX_UDPADDRESSES) clients at the same time?
Thanks,
Michael
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement