> For the complete documentation index, see [llms.txt](https://wiki.abramczyk.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.abramczyk.dev/software/computer-networking/tcp.md).

# TCP

## Notes

* TCP and UDP use port numbers to identify sending and receiving application end-points on a host, often called Internet sockets. Each side of a TCP connection has an associated 16-bit unsigned port number (0-65535) reserved by the sending or receiving application. Arriving TCP packets are identified as belonging to a specific TCP connection by its sockets, that is, the combination of source host address, source port, destination host address, and destination port. ([source](https://en.wikipedia.org/wiki/Transmission_Control_Protocol))

## Links
