struct

Socket::Address

Inherits Struct / Value / Object

Constructors

from(sockaddr : Pointer(LibC::Sockaddr), addrlen) : Address

Returns either an IPAddress or UNIXAddres from the internal OS representation. Only INET, INET6 and UNIX families are supported.

Source

Instance methods

family
Source
size
Source