Which statement is true about how a connection between two programs on different computers is expressed?

Prepare for the Network Security Examination by mastering key concepts in cybersecurity. Utilize interactive questions and detailed explanations to enhance your knowledge. Excel in your exam with our comprehensive preparation resources!

Multiple Choice

Which statement is true about how a connection between two programs on different computers is expressed?

Explanation:
A connection between two programs on different machines is defined by the endpoints used for communication. Each end is a socket, which combines the machine’s IP address and the port used by the specific program. So the connection is best described as a pair of sockets—one on each computer—linked together. This captures both ends of the conversation and the exact processes involved. In TCP, this translates to the four-tuple of source IP, source port, destination IP, destination port, but the essential idea is two sockets at the ends. Describing it only with IP addresses misses the specific program ports, and using only port numbers misses which machines and processes are involved.

A connection between two programs on different machines is defined by the endpoints used for communication. Each end is a socket, which combines the machine’s IP address and the port used by the specific program. So the connection is best described as a pair of sockets—one on each computer—linked together. This captures both ends of the conversation and the exact processes involved. In TCP, this translates to the four-tuple of source IP, source port, destination IP, destination port, but the essential idea is two sockets at the ends. Describing it only with IP addresses misses the specific program ports, and using only port numbers misses which machines and processes are involved.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy