Reputation:
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
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