UCommon
Data Fields
sockaddr_internet Struct Reference

An object that can hold a ipv4 or ipv6 socket address. More...

#include <socket.h>

Data Fields

union {
   struct sockaddr   address
 
   struct sockaddr_in   ipv4
 
   struct sockaddr_in6   ipv6
 
}; 
 

Detailed Description

An object that can hold a ipv4 or ipv6 socket address.

This would be used for tcpip socket connections. We do not use sockaddr_storage because it is not present in pre ipv6 stacks, and because the storage size also includes the size of the path of a unix domain socket on posix systems.

Definition at line 110 of file socket.h.


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