1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Three Way Handshake - Transport Layor

Discussion in 'Programming' started by Silver89, May 7, 2010.

  1. #1
    I'm trying to understand how the Transport Layer uses the 'Three Way Handshake', I understand the general concept is as follows:

    • user sends connection request
    • server sends acceptance
    • user sends data
    • user sends disconnect request
    • server sends acceptance

    But I don't understand how the errors occur, I've been studying a few diagrams but they just confuse me, does anyone have any simple diagrams to shows this process?

    I apologise if this is in the wrong section but it's kind of in-between programming and networking yet the only networking section is for server side and that's not related to this.

    Thanks
     
    Silver89, May 7, 2010 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    http://www.inetdaemon.com/tutorials/internet/tcp/3-way_handshake.shtml

    Host A sends a TCP SYNchronize packet to Host B
    Host B receives A's SYN
    Host B sends a SYNchronize-ACKnowledgement
    Host A receives B's SYN-ACK
    Host A sends ACKnowledge
    Host B receives ACK. TCP connection is ESTABLISHED.

    This means that A sends a request to B, B receives it, and sends a request back to A, then A sends another request back to B, three acknoledgements, three verifications for a connection.
     
    ccoonen, May 24, 2010 IP
    Silver89 likes this.