QuestionQ67

VerifiedNetwork Programming

Which of the following statements about sockets are true?

Choose two
Explanation

A socket is a software endpoint that establishes bidirectional communication between two programs or processes over a network, identified by a combination of IP address and port number. It supports full-duplex data exchange, so it is not limited to one-way communication. Sockets can be used to connect processes on the same machine (using loopback or Unix domain sockets) or on different machines across a network. Sockets themselves do not inherently provide security; encryption and authentication mechanisms (e.g., TLS) must be added separately to protect data in transit, so it is inaccurate to claim sockets are always a secure means of communication.

Community Discussion

No comments yet. Be the first to start the discussion!