File:TCP close() - sequence diagram.svg

Size of this PNG preview of this SVG file: 268 × 598 pixels. Other resolutions: 107 × 240 pixels | 215 × 480 pixels | 344 × 768 pixels | 459 × 1,024 pixels | 917 × 2,048 pixels | 1,079 × 2,408 pixels.
Original file (SVG file, nominally 1,079 × 2,408 pixels, file size: 41 KB)
Summary
DescriptionTCP close() - sequence diagram.svg | English: A detailed sequence diagram that shows what happens when a TCP connection is closed. |
Date | |
Source | Own work |
Author | Mircea.Vutcovici |
Licensing
I, the copyright holder of this work, hereby publish it under the following license:


This file is licensed under the Creative Commons Attribution 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Captions
TCP close() sequence diagram
Diagrama de secvență pentru TCP close()
Items portrayed in this file
depicts
Transmission Control Protocol
copyright status
copyrighted
copyright license
Creative Commons Attribution 4.0 International
inception
3 April 2024
media type
image/svg+xml
source of file
original creation by uploader
data size
41,892 byte
height
2,408 pixel
width
1,079 pixel
checksum
775c6852b1b714cb7dde447d2c2a2d0b8254b660
determination method or standard: SHA-1
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 17:57, 3 April 2024 | ![]() | 1,079 × 2,408 (41 KB) | Mircea.Vutcovici | Uploaded own work with UploadWizard |
File usage
The following page uses this file:
Metadata
This file contains additional information, probably added from the digital camera or scanner used to create or digitize it.
If the file has been modified from its original state, some details may not fully reflect the modified file.
Image title | title%20TCP%20close()%20sequence%20diagram%0A%0Aparticipantgroup%20%23lightgreen%20**TCP%20close%20Initiator**%0Aparticipant%20%22Application%201%22%20as%20A1%0Aparticipant%20%22Kernel%201%22%20as%20K1%0Aend%0A%0Aparticipantgroup%20%23pink%20**Passive%20close**%0Aparticipant%20%22Kernel%202%22%20as%20K2%0Aparticipant%20%22Application%202%22%20as%20A2%0Aend%0Aactivate%20K1%0Aactivate%20K2%0A%0Aactivate%20A1%20%23lightgrey%0Anote%20over%20A1%3A**Initiator**%5CnThe%20app%20that%20closes%5Cnthe%20connection%0Anote%20over%20K1%3AKernel%20where%5Cn**Application%201**%20runs%0A%0Abox%20over%20K1%3AESTABILISHED%0Adeactivate%20A1%0Aactivate%20A1%0AA1-%3E(1)K1%3Aclose()%0A%0Abox%20over%20K2%3AESTABILISHED%0A%0AK1-%3E(1)K2%3AFIN%0Adeactivate%20K1%0Aactivate%20K1%20%23lightgrey%0Adeactivate%20K2%0Aactivate%20K2%20%23red%0Abox%20over%20K1%3AFIN-WAIT-1%0Anote%20over%20K1%3AIf%20connections%20stays%5Cnin%20this%20state%20for%20long%20time%2C%5Cncheck%20network%20connectivity.%0AK2-%3E(1)K1%3AACK%0Adeactivate%20K1%0Aactivate%20K1%20%23yellow%0AK1-%3E(1)A1%3A%0Adeactivate%20A1%0Anote%20over%20A1%3AThe%20connection%20is%20half%20closed.%5CnRemote%20endpoint%20can%20still%20send%20data%5Cnand%20this%20endpoint%20can%20read(2)%2C%20recv(2)%20it.%5Cnlsof%20is%20not%20associating%20the%20connection%20with%5Cnthe%20process.%0A%0Abox%20over%20K1%3AFIN-WAIT-2%0Anote%20over%20K1%3AIf%20connections%20stays%5Cnin%20this%20state%20for%20long%20time%2C%5Cncheck%20Application%202.%0AK2-%3E(1)A2%3Aread(2)%2C%20recv(2)%20returns%200%0A%0Aactivate%20A2%0Abox%20over%20K2%3ACLOSE-WAIT%0Anote%20over%20K2%3AIf%20connections%20stays%5Cnin%20this%20state%20for%20long%20time%2C%5Cncheck%20Application%202.%0Anote%20over%20A2%3AThe%20application%20could%5Cndo%20some%20work%2C%5Cnmight%20send(2)%20somedata%5Cnthen%20it%20must%20run%20close().%5Cnlsof%20is%20still%20associating%20the%5Cnconnection%20with%20the%20process.%0A%0A%0A%0AA2-%3E(1)K2%3Aclose()%0Adeactivate%20K2%0Adeactivate%20A2%0Aactivate%20K2%0A%0AK2-%3E(1)K1%3AFIN%0Abox%20over%20K2%3ALAST-ACK%0Anote%20over%20K2%3AIf%20connections%20stays%5Cnin%20this%20state%20for%20long%20time%2C%5Cncheck%20network%20connectivity.%0A%0Adeactivate%20K1%0A%0Aactivate%20K1%0Anote%20over%20A1%3AThe%20applicaiton%20can't%5Cnread(2)%20or%20recv(2)%20anymore.%0A%0AK1-%3E(1)K2%3AACK%0A%0Adeactivate%20K2%0Abox%20over%20K1%3ATIME-WAIT%0Anote%20over%20K1%3AIf%20you%20see%20a%20lot%20of%20connections%20in%20this%20state%5Cncheck%20both%20applications%20why%5Cnthe%20connetions%20are%20not%20persistent.%5CnE.g.%3A%20HTTP%2F1.1%20Connection%3A%20Keep-Alive%0AK1-%3EK1%3AWait%20for%20240%20seconds%0Adeactivate%20K1%0A%0Anote%20over%20K2%2CA2%3A%20--Author%3A%20Mircea%20Vutcovici%5CnGenerated%20using%3A%20https%3A%2F%2Fsequencediagram.org--%0A |
---|---|
Width | 1079 |
Height | 2408 |