SOCK_DGRAM top-level constant

  1. @Deprecated('Use WINSOCK_SOCKET_TYPE.SOCK_DGRAM instead')
int const SOCK_DGRAM

Datagram socket.

A socket type that supports datagrams, which are connectionless, unreliable buffers of a fixed (typically small) maximum length. This socket type uses the User Datagram Protocol (UDP) for the Internet address family (AF_INET or AF_INET6).

Implementation

@Deprecated('Use WINSOCK_SOCKET_TYPE.SOCK_DGRAM instead')
const SOCK_DGRAM = 2;