Home > Back-end >  Server side opened three listener port, are not binding address, 3 how would the client connection
Server side opened three listener port, are not binding address, 3 how would the client connection

Time:09-26

I have set up 3 listener ports on the server side, 5555, 5554, 5553, no binding address, and listen (1), there are three clients in accordance with the send connection request (order), three clients will connect to a listener port at the same time, or connect to a listener port each

CodePudding user response:

Listen to a port is ok, after the connection is successful, will automatically be assigned to each connection connection objects, each object respective port, if there is no set the IP address, can generally use 127.0.0.1 this IP access
  • Related