Binds struct sockaddr.

See also:

Static variables

staticread onlyport:Null<Int>

Extracts the port in a network address.

Static methods

@:noExprstaticipv4(host:String, port:Int):Result<SockAddr>

Converts a string and port number to an IPv4 struct sockaddr.

@:noExprstaticipv6(host:String, port:Int):Result<SockAddr>

Converts a string and port number to an IPv6 struct sockaddr.

@:noExprstatictoString(this:SockAddr):String

Converts a network address to a string.