abstract struct Socket::Address
- Socket::Address
- Struct
- Value
- Object
Defined in:
sniffer/socket_extend.crConstructors
-
.from(sockaddr : Pointer(LibC::Sockaddr), addrlen) : Address
Returns either an
IPAddressorUNIXAddresfrom the internal OS representation.
Instance Method Summary
Constructor Detail
Returns either an IPAddress or UNIXAddres from the internal OS
representation. Only INET, INET6 and UNIX families are supported.