SOCK_STREAM top-level constant

  1. @Deprecated('Use WINSOCK_SOCKET_TYPE.SOCK_STREAM instead')
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

@Deprecated('Use WINSOCK_SOCKET_TYPE.SOCK_STREAM instead')
const SOCK_STREAM = 1;