Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Socket::Address
Inherits
Struct
/
Value
/
Object
Constructors
ipv4_from_io
(io :
IO
, addrlen :
Int
= 4) :
Address
Source
ipv6_from_io
(io :
IO
, addrlen :
Int
= 16) :
Address
Source
Class methods
ipv4_to_bytes
(ip_address :
Address
) :
Bytes
|
Nil
Source
ipv4_to_bytes!
(ip_address :
Address
) :
Bytes
Source
ipv6_to_bytes
(ip_address :
Address
) :
Bytes
|
Nil
Source
ipv6_to_bytes!
(ip_address :
Address
) :
Bytes
Source