2,300 views
3 votes
3 votes
Suppose a process in Host C has a UDP socket with port number 6789. Suppose both Host A and Host B each send a UDP segment to Host C with destination port number 6789. Will both of these segments be directed to the same socket at Host C? If so, how will the process at Host C know that these two segments originated from two different hosts?

1 Answer

2 votes
2 votes

$\mathbf{\underline{Answer :}}$

Yes, both segments has to be directed to the same socket. At the socket interface, for each received segment, the processes will be provided with the IP addresses by the OS to determine the origins of the individual segments.

edited by

Related questions

1 votes
1 votes
1 answer
1
1 votes
1 votes
1 answer
2
2 votes
2 votes
1 answer
3