Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Handshake (computing)
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== TCP three-way handshake === [[File:Three-way-handshake-example.gif|thumbnail|right|500px|Example of three way handshaking]] Establishing a normal [[Transmission Control Protocol#Connection establishment|TCP]] connection requires three separate steps: :# The first host (Alice) sends the second host (Bob) a "synchronize" (SYN) message with its own sequence number <math>x</math>, which Bob receives. :# Bob replies with a synchronize-acknowledgment ([[SYN-ACK]]) message with its own sequence number <math>y</math> and acknowledgement number <math>x + 1</math>, which Alice receives. :# Alice replies with an acknowledgment (ACK) message with acknowledgement number <math>y + 1</math>, which Bob receives and to which he doesn't need to reply. : In this setup, the synchronize messages act as service requests from one server to the other, while the acknowledgement messages return to the requesting server to let it know the message was received. The reason for the client and server not using a default sequence number such as 0 for establishing the connection is to protect against two incarnations of the same connection reusing the same sequence number too soon, which means a segment from an earlier incarnation of a connection might interfere with a later incarnation of the connection.
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Handshake (computing)
(section)
Add topic