Intermediate
Computer Networks
Q67 / 100
What is a socket in networking?
Correct! Well done.
Incorrect.
The correct answer is B) A software endpoint combining IP address and port number, representing one end of a network connection
B
Correct Answer
A software endpoint combining IP address and port number, representing one end of a network connection
Explanation
A socket is identified by (IP, port, protocol). A connection is identified by the 5-tuple: (src IP, src port, dst IP, dst port, protocol). Applications use socket APIs (BSD sockets) to communicate over networks.
Progress
67/100