struct CassInet
IP address for either IPv4 or IPv6.
Attributes
cass_uint8_t
address
[16]Big-endian, binary representation of a IPv4 or IPv6 address
cass_uint8_t
address_length
Number of address bytes. 4 bytes for IPv4 and 16 bytes for IPv6.
Functions
Constructs an inet v4 object.
Constructs an inet v6 object.
Returns a null-terminated string for the specified inet.
Returns an inet for the specified string.
Examples: “127.0.0.1” or “::1”
Same as CassInet::cass_inet_from_string
, but with lengths for string parameters.