Sdl_net newbie and udp

Im trying to create a basic server/client demo with sdl_net, but I have
some doubts about the right way to do it.
Now I create an UDP socket, a socket set and add that udp socket to
socketset. I check socketset, if there are data y receive it in an udp
packet (not a vector of packets). If packet comes from unbound channel,
the it is a new client and I bind it to socket. Else, i must search what
client has that channel. Is that the correct way for the server side?–
Roger D. Vargas

  • No hay nada tan importante que no pueda ser olvidado *