Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What are the main differences between stream sockets (SOCK_STREAM) and datagram sockets (SOCK_DGRAM)?
SOCK_STREAM
SOCK_DGRAM
Stream sockets typically use TCP and provide reliable, ordered data transmission.
Datagram sockets send individual packets without guaranteeing delivery or order.
Stream sockets typically use UDP, while datagram sockets typically use TCP.
Datagram sockets typically use UDP and guarantee that all packets arrive in the correct order.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!