Chapter 43. TCP AND UDP ADDRESSING: PORTS AND SOCKETS

image with no caption

Internet Protocol (IP) addresses are the main form of addressing used on a TCP/IP network. These network layer addresses uniquely identify each network interface, and as such, they serve as the mechanism by which data is routed to the correct network on the internetwork and then to the correct device on that network.

But there is an additional level of addressing that occurs at the transport layer in TCP/IP, above that of the IP address. Both of the TCP/IP transport protocols—the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP)—use the concepts of ports and sockets for ...

Get TCP/IP Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.