Jump to content
Wikipedia The Free Encyclopedia

File:TCP close() - sequence diagram.svg

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Original file (SVG file, nominally 1,079 ×ばつ 2,408 pixels, file size: 41 KB)
This is a file from the Wikimedia Commons. Information from its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

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

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution
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.
https://creativecommons.org/licenses/by/4.0CC BY 4.0 Creative Commons Attribution 4.0 truetrue

Captions

TCP close() sequence diagram
Diagrama de secvență pentru TCP close()
copyright status<\/a>"}},"text\/plain":{"en":{"":"copyright status"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":50423863,\"id\":\"Q50423863\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P6216":"copyrighted<\/a>"}},"text\/plain":{"en":{"P6216":"copyrighted"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P6216 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
inception<\/a>"}},"text\/plain":{"en":{"":"inception"}}},"{\"value\":{\"time\":\"+2024年04月03日T00:00:00Z\",\"timezone\":0,\"before\":0,\"after\":0,\"precision\":11,\"calendarmodel\":\"http:\\\/\\\/www.wikidata.org\\\/entity\\\/Q1985727\"},\"type\":\"time\"}":{"text\/html":{"en":{"P571":"3 April 2024"}},"text\/plain":{"en":{"P571":"3 April 2024"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P571 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

3 April 2024

media type<\/a>"}},"text\/plain":{"en":{"":"media type"}}},"{\"value\":\"image\\\/svg+xml\",\"type\":\"string\"}":{"text\/html":{"en":{"P1163":"image\/svg+xml"}},"text\/plain":{"en":{"P1163":"image\/svg+xml"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P1163 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

image/svg+xml

source of file<\/a>"}},"text\/plain":{"en":{"":"source of file"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":66458942,\"id\":\"Q66458942\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P7482":"original creation by uploader<\/a>"}},"text\/plain":{"en":{"P7482":"original creation by uploader"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P7482 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">
data size<\/a>"}},"text\/plain":{"en":{"":"data size"}}},"{\"value\":{\"amount\":\"+41892\",\"unit\":\"http:\\\/\\\/www.wikidata.org\\\/entity\\\/Q8799\"},\"type\":\"quantity\"}":{"text\/html":{"en":{"P3575":"41,892 byte<\/span>"}},"text\/plain":{"en":{"P3575":"41,892 byte"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P3575 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

41,892 byte

height<\/a>"}},"text\/plain":{"en":{"":"height"}}},"{\"value\":{\"amount\":\"+2408\",\"unit\":\"http:\\\/\\\/www.wikidata.org\\\/entity\\\/Q355198\"},\"type\":\"quantity\"}":{"text\/html":{"en":{"P2048":"2,408 pixel<\/span>"}},"text\/plain":{"en":{"P2048":"2,408 pixel"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P2048 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

2,408 pixel

width<\/a>"}},"text\/plain":{"en":{"":"width"}}},"{\"value\":{\"amount\":\"+1079\",\"unit\":\"http:\\\/\\\/www.wikidata.org\\\/entity\\\/Q355198\"},\"type\":\"quantity\"}":{"text\/html":{"en":{"P2049":"1,079 pixel<\/span>"}},"text\/plain":{"en":{"P2049":"1,079 pixel"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P2049 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

1,079 pixel

checksum<\/a>"}},"text\/plain":{"en":{"":"checksum"}}},"{\"value\":\"775c6852b1b714cb7dde447d2c2a2d0b8254b660\",\"type\":\"string\"}":{"text\/html":{"en":{"P4092":"775c6852b1b714cb7dde447d2c2a2d0b8254b660"}},"text\/plain":{"en":{"P4092":"775c6852b1b714cb7dde447d2c2a2d0b8254b660"}}},"{\"value\":{\"entity-type\":\"property\",\"numeric-id\":459,\"id\":\"P459\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"":"determination method or standard<\/a>"}},"text\/plain":{"en":{"":"determination method or standard"}}},"{\"value\":{\"entity-type\":\"item\",\"numeric-id\":13414952,\"id\":\"Q13414952\"},\"type\":\"wikibase-entityid\"}":{"text\/html":{"en":{"P459":"SHA-1<\/a>"}},"text\/plain":{"en":{"P459":"SHA-1"}}}}" class="wbmi-entityview-statementsGroup wbmi-entityview-statementsGroup-P4092 oo-ui-layout oo-ui-panelLayout oo-ui-panelLayout-framed">

775c6852b1b714cb7dde447d2c2a2d0b8254b660

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current17:57, 3 April 2024 Thumbnail for version as of 17:57, 3 April 2024 1,079 ×ばつ 2,408 (41 KB)Mircea.Vutcovici Uploaded own work with UploadWizard

The following page uses this file:

Global file usage

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 titletitle%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
Width1079
Height2408

AltStyle によって変換されたページ (->オリジナル) /