3,131 views
1 1 vote

When a TCP segment arrives at a host, in order to direct it to the appropriate socket, the operating system's network stack uses which of the following?

(a)Transport protocol number

(b)Destination IP Address

(c)Source port number

(d)Destination port number

(e)Destination MAC Address

Answer is given to be a,b,c,d.

I understand why a,b and d are needed. Why source port number is needed?

Document Ref: 

https://gateoverflow.in/?qa=blob&qa_blobid=8025344419025703520

1 Answer

0 0 votes
For making socket connection 5 tuples are required  < destination port no, source port no, destination IP, source IP, protocol used >. Hence options A, B, C, D
Position:
Show:

Related questions

0 0 votes
1 1 answer
421
421 views
surya_siddina asked Nov 28, 2024
421 views
TCP
T/F?Suppose host A sends host B one segment with sequence number 38 and 4 bytes of data. Then in the same segment the acknowledgement number is necessarily 42.
1 1 vote
1 answers 1 answer
788
788 views
Emankashyap asked Jun 9, 2024
788 views
Assume a TCP implementation over a 10Gbps link with one way dealy of 80ms if TCP receiver window size is 2MB and TCP send 1KB packet then how many RTT does it take until ...
0 0 votes
1 1 answer
1.6k
1.6k views
Chaitanya Kale asked Jan 19, 2023
1,589 views
Does TCP use negative acknowledgment? According to me for flow control TCP uses a mix of both SR and GO BACK N protocol, and SR protocol uses negative acknowlegment thus ...