2014년 10월 26일 일요일

Three-Way handshake



The three-way handshake process goes as follows :
to launch a TCP connection, the source(192.168.0.2:8080) sends a SYN packet to the destination(192.168.0.8:21).

the destination, on receiving the SYN packet, i.e, sent by the source, responds by sending a SYN/ACK packet back to the source.

This ACK packet confirms the arrival of the first SYN packet to the source.

In conclusion, the source sends an ACK packet for the ACK/SYN packet sent by the destination.

This triggers an "OPEN" connection allowing communication between the source and the destination, until either of them issues a "FIN" packet or a "RST" packet to close the connection.

댓글 없음:

댓글 쓰기