Ok I'm tring to write some code to make a server for a game that will accept 50 clients.
can I have 50 sockets all looking to one port without them being confused and reading each others data? Like i dont want player a's command to be interperated as player b's command by the server.
Since they are all looking at the same port im not sure if it will work.
Also if I use just 1 port is it still safe to check for new incoming connections on the port with a "listener" socket (all it does is see if some1 is there then accepts the connection to another open socket then releases itself.)