1,912 views
0 votes
0 votes
Both UDP and TCP use port numbers to identify the destination entity when delivering
a message. Give two reasons why these protocols invented a new abstract ID (port
numbers), instead of using process IDs, which already existed when these protocols
were designed.

1 Answer

0 votes
0 votes

Here are three reasons.

First, process IDs are OS-specific. Using process IDs would have made these protocols OS-dependent.

Second, a single process may establish multiple channels of communications. A single process ID (per process) as the destination identifier cannot be used to distinguish between these channels.

Third, having processes listen on well-known ports is easy, but well-known process IDs are impossible.

Source: https://www.coursehero.com/file/pqras1/9-Both-UDP-and-TCP-use-port-numbers-to-identify-the-destination-entity-when/

Related questions

1 votes
1 votes
2 answers
2
1 votes
1 votes
1 answer
3
ajaysoni1924 asked Mar 18, 2019
838 views
In Fig. 6-36 we saw that in addition to the 32-bit acknowledgement field, there is anACK bit in the fourth word. Does this really add anything? Why or why not?
1 votes
1 votes
1 answer
4
ajaysoni1924 asked Mar 18, 2019
1,287 views
A process on host 1 has been assigned port p, and a process on host 2 has beenassigned port q. Is it possible for there to be two or more TCP connections betweenthese two...