A sequence of UDP packets addressed to ports 1979, 8854, 9000, 1979, and 9000. Explain why they can be distributed to the right processes.
Every process is assigned a unique port number. When the packet
reaches a host, the port number of a packet is checked in the
transport layer, and it is forwarded to the process running on that
port number.
For the given question, let
Process | Port Number |
Process A | 1979 |
Process B | 8854 |
Process C | 9000 |
1. When a UDP packet addressed to 1979 comes, it is sent to
Process A.
2. When a UDP packet addressed to 8854 comes, it is sent to Process
B.
3. When a UDP packet addressed to 9000 comes, it is sent to Process
C.
4. When a UDP packet addressed to 1979 comes, it is sent to Process
A.
5. When a UDP packet addressed to 9000 comes, it is sent to Process
C.
Every process on a host has a unique port number, so the packets get distributed to the right processes.
Hope this helps
If you have any doubt feel free to comment
Thank You!!
Get Answers For Free
Most questions answered within 1 hours.