Options passed to the Socket consturctor.

Fields

type:SocketType

Type of the socket. Either udp4 or udp6.

@:optionaloptionalreuseAddr:Null<Bool>

When true, Socket.bind will reuse the address, even if another process has already bound a socket on it. Defaults to false.