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.
Model answer
What a good answer should say
- It provides an endpoint for communication by associating an IP address with a port.
Explanation
Why this works
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.
Common mistake
No common mistake is linked to this question yet.
