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.
Computer Science · Glossário
O que é Stream socket, datagram socket?
Também chamado de: stream socket · datagram socket