All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Stream socket, datagram socket?

Also known as: stream socket · datagram socket

Definition 16.3 University Computer Science — Year 2 · Chapter 16 — Sockets

A stream socket (SOCK_STREAM, the TCP protocol) carries a reliable, ordered sequence of bytes between two connected endpoints; a datagram socket (SOCK_DGRAM, the UDP protocol) carries separate messages, each addressed on its own.

Read in context →