Thrill  0.1
SocketAddress::SockAddrUnion Union Reference

Detailed Description

Enclosed IPv4, IPv6 or other socket address structure. Used as a struct sockaddr_in or a struct sockaddr_in6. sizeof(sockaddr_in6) is (currently) 28.

Definition at line 49 of file socket_address.hpp.

#include <socket_address.hpp>

Public Attributes

struct sockaddr generic
 
struct sockaddr_in in
 
struct sockaddr_in6 in6
 

Member Data Documentation

◆ generic

struct sockaddr generic

Definition at line 50 of file socket_address.hpp.

◆ in

struct sockaddr_in in

Definition at line 51 of file socket_address.hpp.

Referenced by IPv4Address::IPv4Address().

◆ in6

struct sockaddr_in6 in6

Definition at line 52 of file socket_address.hpp.

Referenced by IPv6Address::IPv6Address().


The documentation for this union was generated from the following file: