The Gateway to Computer Science Excellence
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.
in Computer Networks by | 215 views

1 Answer

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.



Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
52,315 questions
60,430 answers
95,244 users