1
Network / SelectorUDP
« on: January 23, 2013, 07:26:40 pm »
Hey guys. I try to create a server/client connection between 1 server and serval clients. I want to use UDP because the TCP overhead is just to big for what im planning to do (transferring a simulation between server and clients).
So I just read through the tutorials and played a bit around with the api. I created an udp server that binds porperly and a client that can send messages. The server works well with only one client sending stuff to him. But as soon as I start another instance of the client the server breaks. Soo I tried to implement the SelectorUDP but I don't know how to.
Or should I just make a multithreaded server that listens with serval threads?
Thanks for all your help
So I just read through the tutorials and played a bit around with the api. I created an udp server that binds porperly and a client that can send messages. The server works well with only one client sending stuff to him. But as soon as I start another instance of the client the server breaks. Soo I tried to implement the SelectorUDP but I don't know how to.
Or should I just make a multithreaded server that listens with serval threads?
Thanks for all your help