Question: How many simultaneous servers can a given client Socket instance connect to?
How many simultaneous servers can a given client Socket instance connect to?
Step by Step Solution
3.36 Rating (165 Votes )
There are 3 Steps involved in it
A client socket instance can only be connected to one server at a time In terms of the clientserver model a Socket can be thought of as a single endpoint of a twoway communication link between two programs running on the network The socket is bound to a specific port number and it uses this for communication over the network with a corresponding socket on a different machine the server In other words once a client initiates a request to open a connection with a server that clients socket is connected specifically and solely to that servers socket The server socket listens for incoming requests and establishes onetoone communication meaning each client socket can only talk to one server socket and vice versa So to connect to multiple servers the client ... View full answer
Get step-by-step solutions from verified subject matter experts
