Binds struct sockaddr.

See also:

Static variables

staticread onlyport:Null<Int>

Extracts the port in a network address.

Static methods

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

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

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

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

statictoString(this:SockAddr):String

Converts a network address to a string.