Académique Documents
Professionnel Documents
Culture Documents
Page 1 of 4
Google Tradutor
Skip to content InetDaemon Real Training for Internet Professionals Tutorials About Contact BLOG
Search
Categories: Photography Q&A with InetD Social Facebook Twitter Technology Computers Internet Mobile Computing Networking Programming Security Telecommunications Virtualization Wireless World Wide Web HOME TUTORIALS INTERNET TCP 3-WAY HANDSHAKE
http://www.inetdaemon.com/tutorials/internet/tcp/3-way_handshake.shtml
7/10/2011
Page 2 of 4
Google Tradutor
The TCP three-way handshake in Transmission Control Protocol (also called the three message handshake) is the method used to establish TCP socket connections and tear down TCP socket connections over the network. TCP's three way handshaking technique is referred to as the 3-way handshake or as "SYN-SYN-ACK" (or more accurately SYN, SYN-ACK, ACK). The TCP handshaking mechanism is designed so that two computers attempting to communicate can negotiate the parameters of the network TCP socket connection before beginning communication. This three way handshaking process is also designed so that both ends can initiate and negotiate separate TCP socket connections at the same time. Being able to negotiate multiple TCP socket connections in both directions at the same time allows a single physical network interface (such as ethernet) to be multiplexed.
chronize and ACKnowledge messages are indicated by a bit inside the header of the TCP segment.
SYN
TCP knows whether the network TCP socket connection is opening, synchronizing, established by using the SYNchronize and ACKnowledge messages when establishing a network TCP socket connection. When the communication between two computers ends, another 3-way communication is performed to tear down the TCP socket connection. This setup and teardown of a TCP socket connection is part of what qualifies TCP a reliable protocol. TCP also acknowledges that data is successfully received and guarantees the data is reassenbled in the correct order. Note that UDP is connectionless. That means UDP doesn't establish connections as TCP does, so UDP does not perform this 3-way handshake and for this reason, it is referred to as an unreliable protocol.
http://www.inetdaemon.com/tutorials/internet/tcp/3-way_handshake.shtml
7/10/2011
Page 3 of 4
Google Tradutor
TCP 'rides' on top of Internet Protocol (IP) in the protocol stack, which is why the combined pair of Internet protocols is called TCP/IP (TCP over IP). TCP segments are passed inside the payload section of the IP packets. IP handles IP addressing and routing and gets the packets from one place to another, but TCP manages the actual communication sockets between endpoints (computers at either end of the network or internet connection).
RELATED TUTORIALS
More Tutorials about Transmission Control Protocol (TCP) More Tutorials about Internet Protocol (IP) More Tutorials about User Datagram Protocol (UDP)
About InetDaemon
InetDaemon is a seasoned veteran of the Information Technology [IT] field, owner and CEO of InetDaemon Enterprises.
InetDaemon Enterprises is a charitable organization that seeks to get people out of their dead-end, minimum-wage jobs and into high-paying IT careers as Helpdesk Technicians, Network Operations Engineers, Network Administrators and beyond. Your donations support the development and hosting of advanced technical training. more
Reader Kudos
I'm grateful for the info that I got from InetDaemon.Com; it has helped me so much in performing my duties efficiently and effectively as a technical support representative. --M. Kimani [Add Your Kudos]
Tutorials
TUTORIALS BASIC CONCEPTS COMPUTERS INTERNET NETWORKING SATELLITE SCRIPTING SECURITY TELECOM TROUBLESHOOTING WWW
http://www.inetdaemon.com/tutorials/internet/tcp/3-way_handshake.shtml
7/10/2011
Page 4 of 4
Google Tradutor
Ask InetDaemon
Contact Us Link To Us Kudos
Selecione o idioma
Complete Powered by CCNA Training Instant access to 900+ hours of Cisco training videos. Only $159 www.INE.com/CCNA Google Tradutor Ethernet Joysticks High precision control grips with ethernet output www.bgsystems.com Direct IP Printing Manage, configure and deploy direct IP printing with ease. www.printerpropertiespro.com/
TUTORIALS [ BASICS | COMPUTERS | INTERNET | SATELLITE | SECURITY | TELECOM | WORLD WIDE WEB | TROUBLESHOOTING ] YOUR DONATIONS SUPPORT THE CONSTRUCTION OR COMPLETION OF TUTORIALS THROUGHOUT THIS SITE STANDARD DISCLAIMER | Comments and Suggestions | FAQ's | About InetDaemon.Com | About InetDaemon | Acceptable Use Policy | Privacy Policy
http://www.inetdaemon.com/tutorials/internet/tcp/3-way_handshake.shtml
7/10/2011