File:TCP connection establishment.svg
Commons is a freely licensed media file repository. You can help.
Summary
| DescriptionTCP connection establishment.svg |
עברית: הקמת קשר TCP
English: TCP connection establishment |
| Date | |
| Source | Own work |
| Author | Adielbm |
Licensing
- 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.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This media file is uncategorized.
Please help improve this media file by adding it to one or more categories, so it may be associated with related media files (how?), and so that it can be more easily found.
Please notify the uploader with {{subst:Please link images|File:TCP connection establishment.svg}} ~~~~ |
Captions
Items portrayed in this file
depicts
1 February 2026
52,474 byte
image/svg+xml
322e0372e6cd07bee98e3f22789eec6e6bb66cfb
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 06:36, 1 February 2026 | 512 × 335 (51 KB) | Adielbm | 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 | % based on: https://tex.stackexchange.com/a/155416 (Posted by Ignasi, modified by community) and https://commons.wikimedia.org/wiki/File:TCP_CLOSE.svg (Clemente)
\documentclass[tikz, border=5mm]{standalone} \usetikzlibrary{arrows,shadows,positioning} \begin{document} \begin{tikzpicture}[font=\sffamily,>=stealth',thick, commentl/.style={text width=3cm, align=right}, commentr/.style={commentl, align=left}, packetinfo/.style={below, sloped, font=\scriptsize\sffamily, text width=3.2cm, align=center},] \node[] (init) {\LARGE Client}; \node[right=1cm of init] (recv) {\LARGE Server}; % 3-way handshake: SYN, SYN-ACK, ACK \draw[->] ([yshift=-1.3cm]init.south) coordinate (syn1o) -- ([yshift=-.7cm]syn1o-|recv) coordinate (syn1e) node[pos=.25, above, sloped] {SYN}
node[pos=.25, packetinfo] {$\mathsf{seq=x}$};
\draw[->] ([yshift=-.3cm]syn1e) coordinate (synacko) -- ([yshift=-.7cm]synacko-|init) coordinate (synacke) node[pos=.45, above, sloped] {SYN, ACK}
node[pos=.35, packetinfo] {$\mathsf{seq=y},$\\$\mathsf{ack=x+1}$};
\draw[->] ([yshift=-.3cm]synacke) coordinate (acko) -- ([yshift=-.7cm]acko-|recv) coordinate (acke) node[pos=.65, above, sloped] {ACK}
node[pos=.65, packetinfo] {$\mathsf{seq=x+1},$\\$\mathsf{ack=y+1}$};
\draw[thick, solid, shorten >=-1cm] (init) -- (init|-acke); \draw[thick, solid, shorten >=-1cm] (recv) -- (recv|-acke); \draw[dotted] (init.255)--([yshift=2mm]init.255|-syn1o); \draw[dotted] (recv.285)--([yshift=2mm]recv.285|-syn1e) coordinate[pos=.5] (aux1); \draw[dotted] ([yshift=1mm]init.255|-synacke) --([yshift=-5mm]init.255|-acke) coordinate (aux2); \node[below left = 0mm and 2mm of init.south, commentl]{\textbf{CLOSED}}; \node[left = 2mm of syn1o.west, commentl]{\textbf{SYN\_SENT}}; \node[below left = -4.5mm and 2mm of acko.west, commentl]{\textbf{ESTABLISHED}\\[-1.5mm]{\itshape connection}}; \node[below right = 0mm and 2mm of recv.south, commentr]{\textbf{CLOSED}}; \node[right = 2mm of recv|-aux1, commentr]{\textbf{LISTEN}}; \node[right = 2mm of synacko.west, commentr]{\textbf{SYN\_RECEIVED}}; \node[below right = -1mm and 2mm of acke.west, commentr]{\textbf{ESTABLISHED}\\[-1.5mm]{\itshape connection}}; \end{tikzpicture} \end{document} |
|---|---|
| Width | 100% |
| Height | 100% |