[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
socket
TCP Socket/Connection [/purple]
A TCP connection is done with a 3-way handshake between a client and a server. The following is a simplified explanation of this process.
The connection is then established and is uniquely identified by a socket or socket pair.
(destination IP address, destination port number)
(source IP address, source port number)
During the connection setup phase, these values are entered in a table and saved for the duration of the connection.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
socket
TCP Socket/Connection [/purple]
A TCP connection is done with a 3-way handshake between a client and a server. The following is a simplified explanation of this process.
- The client asks for a connection by sending a TCP segment with the SYN control bit set.
- The server responds with its own SYN segment that includes identifying information that was sent by the client in the initial SYN segment.
- The client acknowledges the server's SYN segment.
The connection is then established and is uniquely identified by a socket or socket pair.
(destination IP address, destination port number)
(source IP address, source port number)
During the connection setup phase, these values are entered in a table and saved for the duration of the connection.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
