BitKernel·Software Engineer·Technical Phone Screen
- In socket-based network programming, which of the following statements is incorrect: (A) socket communication requires at least one pair of sockets, (B) sockets exist in communication domains and can only communicate with sockets in the same domain, (C) there are two socket types: stream and datagram, or (D) stream sockets and datagram sockets can communicate with each other as long as the underlying protocol permits?
“The answer is D and I did get it right, but for the wrong reason at first.”