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
void cass_custom_payload_set_n
(CassCustomPayload * payload, const char * name, size_t name_length, const cass_byte_t * value, size_t value_size )
Same as CassCustomPayload::cass_custom_payload_set, but with lengths for string parameters.
Requires Apache Cassandra: 2.2+
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.