Handle multiple sockets .... doubts!!!!
Hello,
I have a doubt about this topic.
I have search in google the way to handle several sockets at the same time but as far I known a socket only could handle one port.
Then If I want to connect for example 10 computers at the same port, it is impossible, right.
The example that I found in the net, use commands like select(), FD_SET, etc etc, but it does not work because only one computer could connect in a socket (TCP).
So, what is the way to handle several connections in TCP. it is impossible to make it at the same port number.
Any advice?
Best regards.
|