Question: 2.7-5 socket connect(). What happens when a socket connect() procedure is called/invoked? This causes the client to reach out to a TCP server to establish
2.7-5 socket connect(). What happens when a socket connect() procedure is called/invoked? This causes the client to reach out to a TCP server to establish a connection between that client and the server. If there is already one or more servers on this connection, this new server will also be added to this connection. This procedure creates a new socket at the client, and connects that socket to the specified server. This causes the server to create a connection with a TCP client. The server does so by creating a new socket for communication back to that client. This causes the client to reach out to a TCP server to establish a connection between that client and the server. There can be at most one server on the connection
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
