| 
    Extensible Connection-oriented Messaging (XCM)
    
   | 
 
#include <xcm_addr.h>
Data Fields | ||
| sa_family_t | family | |
| union { | ||
| in_addr_t ip4 | ||
| uint8_t ip6 [16] | ||
| } | addr | |
IPv4 or IPv6 address data type.
| sa_family_t xcm_addr_ip::family | 
Type tag; AF_INET or AF_INET6
| in_addr_t xcm_addr_ip::ip4 | 
Contains the IPv4 address in network byte order (in case family is set to AF_INET).
| uint8_t xcm_addr_ip::ip6[16] | 
Contains the IPv6 address (in case family is set to AF_INET6).
| union { ... } xcm_addr_ip::addr | 
Union containing the actual IPv4 or a IPv6 address bytes