SOCK_STREAM top-level constant

int const SOCK_STREAM

Stream socket.

A socket type that provides sequenced, reliable, two-way, connection-based byte streams with an OOB data transmission mechanism. This socket type uses the Transmission Control Protocol (TCP) for the Internet address family (AF_INET or AF_INET6).

Implementation

const SOCK_STREAM = 1;