Skip to content

Std socket socketflags

std:std.socket.SocketFlags

Enum SocketFlags#

The SocketFlags enum.

SocketFlags Description
Passive for Bind and Listen. Indicates socket accepts connections from any address. If not set, socket accepts loopback connections only.
Ipv4 for Connect, Bind and Listen. Socket can be an ip4 socket.
Ipv6 for Connect, Bind and Listen. Socket can be an ip6 socket.