TCP Connection Establishment




 

In this article we will discuss TCP Connection Establishment, will make brief discussion on TCP Connection Establishment, In last article we discuss about TCP Server Processes.



TCP Connection Establishment

In base terms, TCP/IP allows one computer to talk to another computer via the Internet through compiling packets of data and sending them to right location. In some cultures, when two persons meet, they often greet each other by shaking hands. This is done by sending a SYN (synchronization) packet, as if to initiate a three-way handshake, to every port on the server. If the server responds with a SYN/ACK(synchronization acknowledged) packet from a particular port, it means the port is open.



TCP Connection Establishment
TCP Connection Establishment

The act of shaking hands is understood by both parties as a signal for a friendly greeting. Connections on the network are similar. In TCP connections, the host client establishes the connection with the server. Connection Establishment. A connection is typically used for client-server interaction. A server advertizes a particular server at a well-known address and clients establish connections to that socket to avail of the offered service.



A TCP connection is established in three steps:

Step 1 – The initiating client requests a client-to-server communication session with the server.

Step 2 – The server acknowledges the client-to-server communication session and requests a server-to-client communication session.

Step 3 – The initiating client acknowledges the server-to-client communication session.

Add a Comment

Your email address will not be published. Required fields are marked *