How TCP stablish connection?

Answer Posted / krishnamohan

TCP connection establishment happens in a 3-way handshake
between the connecting peers:
1. Peer1 sends "SYN, seq # i" to Peer 2
2. Peer2 accepts SYN from Peer1 and sends "SYN-ACK i+1, SYN,
Seq # j"
3. Peer1 accepts ACK and sends "ACK j+1"

Here i is starting of sequence for packets going from Peer1
to Peer2.
j is starting of sequence for packets going from Peer2 to Peer1.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why shared memory is faster than message queue?

580


Is a website solely dedicated to ones ip address?

608


Why is port 139 open?

594


What is a firewall?

658


Explain what is the difference between flow control and error control?

667






Is port 80 open on my network?

619


What is the equivalent layer or layers of the tcp/ip application layer in terms of osi reference model?

599


What is tcp socket programming?

628


at which layer of osi model does segmentation of a data stream happen?

712


What is the difference between flow control and error control?

636


How do I check if my firewall is blocking a port?

579


Which layer would the Transmission Control Protocol TCP be in? and is used in which layer.

714


Compare the contents of the NetSim routing table with those of a IP/RIP based router

2170


Can you forward the same port to multiple ips?

586


Explain what is the pdu of "network layer" and "data link layer"?

603