- What is a socket?
A socket is an abstraction that represents one endpoint of a communication link between systems.
- What is a connectionless protocol? What is a connection-oriented protocol?
A connection-oriented protocol sends data packets in the context of a larger stream of data. A connectionless protocol sends each packet of data independently of any before or after it.
- Is UDP a connectionless or connection-oriented protocol?
UDP is considered a connectionless protocol. Each message is sent independently of any before or after it.
- Is TCP a connectionless or connection-oriented protocol?
TCP is considered a connection-oriented protocol. Data is sent and received in order as a stream.
- What types of applications generally benefit from using the UDP protocol?
UDP applications benefit from better real-time performance while...