abstract struct Socket::Address
- Socket::Address
- Struct
- Value
- Object
Defined in:
wrench/socket/address.crConstructors
- .ipv4_from_io(io : IO, addrlen : Int = 4) : Address
- .ipv6_from_io(io : IO, addrlen : Int = 16) : Address
Class Method Summary
- .ipv4_to_bytes(ip_address : Address) : Bytes | Nil
- .ipv4_to_bytes!(ip_address : Address) : Bytes
- .ipv6_to_bytes(ip_address : Address) : Bytes | Nil
- .ipv6_to_bytes!(ip_address : Address) : Bytes