AD

Linux protocol stack of TCP transport protocol (2)

TCP connections initiated the process:

Client server

(State: closed) (State: listen)

---------------->( SYN connection request)

(State: SYN_SENT)

ACK <-------------

(State: SYN_RECV)

-----------------> ACK

(State: ESTABLISHED)

(State: ESTABLISHED)

TCP close connection process:

Client server

(State: connected) (State: connected))

---------------->( FIN Close request)

(State: FIN_WAIT_1)

ACK <-------------

(State: CLOSE_WAIT)

(State: FIN_WAIT_2)

FIN Close request <--------

(State: LAST_ACK)

(State: TIME_WAIT) ----------> ACK (State: CLOSED)

2MS timer

(State: CLOSED)

If the communication both at the same time send a FIN close request, the parties state set to CLOSING, wait until after the state of the other responses to CLOSE_WAIT.
标签: lt, close connection, linux, timer, client server, connection request, transport protocol, protocol stack, recv, wait state, tcp connections, ack, state time, server state
分类: OS
时间: 2010-07-20

相关文章

  1. Linux protocol stack of TCP transport protocol (1)

    Connection-oriented TCP protocol (Transmission Control Protocol) is a connection-oriented streaming protocol, ...
  2. A. TCP / IP protocol introduction - transferred

    One, TCP / IP protocol introduced Introducing the HTTP protocol, before briefly about the TCP / IP protocol-re ...
  3. Linux TCP / IP protocol stack of the key data structures Socket Buffer (sk_buff)

    sk_buff structure may be the most important linux networking code data structure that represents the receive o ...
  4. Protocol stack of Linux system calls

    Linux TCP / IP protocol stack corresponds to the ISO seven layer reference model are: Application System Appli ...
  5. RDMA over TCP protocol stack Analysis of work process

    RDMA over TCP protocol stack Analysis of work process As network bandwidth and speed of development and migrat ...
  6. TCP / IP protocol stack of the link layer

    Looked at in recent days off Stevens's "TCP / IP Detailed Volume," As I read more slowly, only to se ...
  7. oSIP protocol stack (and eXoSIP, Ortp, etc.) Getting Started (change)

    No detailed studies have been empty oSIP, recently has come to see its version of the 3.x version, see the onl ...
  8. OSIP Stack Getting Started (continued from: pure logic of the protocol stack) (change)

    Before long, simply looked rough under Osip, eXosip, ortp other and quickly "package" under a Window ...
  9. Reload about tcp / ip protocol approach

    In the default installation of Windows XP in a TCP / IP. However, if a network problem to uninstall and reinst ...
  10. TCP / IP protocol overview

    1. TCP / IP protocol of four levels: a) link layer (data link layer, network interface layer), usually includi ...
  11. I used the Linux command telnet - telnet-based tools TELNET protocol

    I used the Linux command telnet - telnet-based tools TELNET protocol This link: http://codingstandards.javaeye ...
  12. OSI seven layer model and TCP / IP protocol

    From the hierarchical model in terms of protocol, TCP / IP consists of four layers: network interface layer, n ...
  13. The TCP/IP Protocol Family

    The TCP/IP Protocol Family Transport TCP (Transmission Control Protocol) Connection-based services (Day 4) UDP ...
  14. An Analysis On the TCP / IP protocol and UDP protocol

    Just beginning to learn the network, and transferred to the reviewing Overview: Simply put, TCP (Transmission ...
  15. TCP handshake protocol

    In the TCP / IP protocol ,TCP Protocol provides a reliable connection service, the use of three-way handshake ...
  16. Acquaintance TCP / IP protocol

    TCP / IP protocol, before I had heard before, but do not understand what is what, what role, while the study o ...
  17. TNS: listener could not find instance with matching protocol stack

    When the listener believes the current number of connections has reached maximum load, it may set the state of ...
  18. 2005 TCP / IP protocol and Sql Server (Express) service conflict

    Connect Sql Server2005 not connect the Express service, now I will SQL Server 2005 Network Configuration in th ...
  19. Under Linux process stack memory management a little more detail

    In reading "Detailed performance embedded linux", referred to the Linux system stack used in the pro ...