APPLICATION LAYER
SOCKET INTERFACE PROGRAMMING
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
TCP sockets are ____ tuple
|
1
|
|
2
|
|
3
|
|
4
|
Explanation:
Detailed explanation-1: -TCP uses 4-tuple (source IP, source port, destination IP, destination port) as the demux key to identify appropriate socket. Why can’t it just use destination IP and port? Because server can have several sockets open for different clients.
Detailed explanation-2: -What Does 5-Tuple Mean? A 5-tuple refers to a set of five different values that comprise a Transmission Control Protocol/Internet Protocol (TCP/IP) connection. It includes a source IP address/port number, destination IP address/port number and the protocol in use.
Detailed explanation-3: -For most socket interfaces, the maximum number of sockets allowed per each connection between an application and the TCP/IP sockets interface is 65535.
There is 1 question to complete.