Name

Source Port

Synopsis

Identifies the application that generated the segment, as referenced by the 16-bit TCP port number in use by the application.

Size

Sixteen bits.

Notes

This field identifies the port number used by the application that created the data.

Capture Sample

In the capture shown in Figure 7.18, the Source Port field is set to hexadecimal 00 50, which is decimal 80 (the well-known port number for HTTP). From this information, we can tell that this segment is a reply, since HTTP servers only send data in response to a request.

The Source Port field
Figure 7.18. The Source Port field
See Also

Destination Port

Application addressing with TCP ports

Get Internet Core Protocols: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.