Exam-style question
Try this first
What is the role of a socket in the TCP/IP stack?.
- A.It provides an endpoint for communication by associating an IP address with a port.
- B.It converts a MAC address into a programming language.
- C.It replaces all four TCP/IP layers with one layer.
- D.It permanently stores every packet sent across the internet.
Answer and explanation
Concise answer
It provides an endpoint for communication by associating an IP address with a port.
Why this is correct
A socket identifies an endpoint for network communication. The combination of an IP address and a port allows data to be directed to the appropriate device and process.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
