Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
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.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!