Write a short note on UDP multiplexing/demultiplexing.
1 Answer

Sender: Multiplexing of UDP datagrams

  1. UDP datagrams are received from multiple application programs

  2. A single sequence of UDP datagrams is passed to the IP layer.

  3. At the destination host the transport layer receives segments from the network layer.

  4. Transport layer has the responsibility of delivering the data in these segment

  5. Socket programming with “TCP and socket programming UDP” that process can have one or more socket

  6. Transport layer in the receiving host does not actually deliver data directly to a process but instead to an intermediary socket.

  7. Each socket has unique identifier the format of the identifier depends on wheather the socket is a UDP or TCP socket.

  8. Directing the arriving segment’s data to the corresponding process socket, the transport layer in the middle.

enter image description here

Please log in to add an answer.