user3394598
user3394598

Reputation:

Why TCP segment doesn't contain IP address

Why the TCP segment only contains the port numbers but no IP addresses? How does the packet know which host it is going to?

Upvotes: 1

Views: 357

Answers (1)

betteroutthanin
betteroutthanin

Reputation: 7546

Because the TCP segment is encapsulated into an Internet Protocol (IP) datagram, and the IP datagram contains the source and destination IP.

Upvotes: 1

Related Questions