Bitkernel · CS Fundamentals
Identify incorrect statement about sockets
TrueInterview
October 7, 2026 · 1 min read
When doing network programming with sockets, which option below is wrong?
- A. You need at least a pair of sockets for socket communication.
- B. Sockets are assigned to communication domains and can only exchange data with other sockets in that same domain.
- C. Sockets come in two varieties: stream sockets and datagram sockets.
- D. Provided the underlying protocol supports it, stream sockets can talk to datagram sockets.
Overview: The question checks your knowledge of socket basics in network programming, covering the difference between stream and datagram sockets, how communication domains work, and whether different socket types can interoperate. It appears frequently in interviews for software engineering fundamentals and operating systems/networking roles, focusing on conceptual networking principles instead of practical implementation specifics.
Loading comments…