1,362 views
1 votes
1 votes

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 votes
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

Related questions

1 votes
1 votes
1 answer
1
Jeetmoni saikia asked Nov 4, 2022
497 views
The underlying Transport layer protocol used by SMTP is ________(a) TCP(b) UDP(c) Either TCP or UDP
2 votes
2 votes
1 answer
2
rahul sharma 5 asked Aug 15, 2017
2,117 views
Which of the following transport layer protocols used to support email?a:) SMTPb:) TCPc::)UDPd) both b and c
0 votes
0 votes
1 answer
3
Chaitanya Kale asked Jan 19, 2023
861 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 ...