Computer Science, asked by pritom050, 8 months ago

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.

Answers

Answered by ANSU007
11

Answer: Both UDP and TCP use port numbers to identify the destination entity when delivering a message. Give two reasons for why these protocols invented a new abstract ID (port numbers), instead of using process IDs, which already existed when these protocols were designed. a.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.

Explanation: Please mark my answer as Brainliest. please....

Answered by AncyA
0

Answer:

The two reasons why these protocols invented a new abstract ID instead of using process IDs, which already existed was given below.

Explanation:

In transport layer, internet has two main protocols. They are

  • Connection-less protocol
  • Connection oriented Protocol

UDP is the connection-less protocol and TCP is the connection-less protocol.

UDP - User Datagram Protocol

  • UDP can send encapsulated IP programs without connections.
  • RFC 768 decribes UDP.
  • 8 byte header by the pay load is transmitted by using UDP

TCP - Transmission Control Protocol

  • The end-to-end byte stream was provided by the TCP.
  • RFC 793 was used to define TCP.
  • TCP transport entity or library procedure, a user process or part of the kernel are the components supporting TCP.

The two reasons why these protocols invented a new abstract ID instead of using process IDs were,

  • The first reason is the press IDs are OS specific. Therefore these protocols are made as OS dependent.
  • The second reason is the multiple channel communication can be established because it is a single process. Therefore, the single process ID cannot be used to differentiate the channels.
  • The third reason is it is impossible to have a well-known process IDs.

#SPJ3

Similar questions