41.2k views
2 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 (pIds) which already existed when these protocols were designed. pIds are assigned to processes as they are created by the operating system – use ps –e on Linux to see running processes.

User HolloW
by
6.2k points

1 Answer

3 votes

Answer:

Process ID is not static.

Having process to listen on IDs are not possible.

Step-by-step explanation:

⇒ Process ID is not static because they are assigned dynamically to the processes while process is created.

⇒ Sometimes, one process manages multiple sockets on different TSAPs, so if process ID is used, it cannot be implemented since one process can have one process ID

⇒It is easy to have processes listen on well known ports, but not possible for well known process IDs.

User Rakete
by
6.3k points