21 #ifndef GF_SOCKET_ADDRESS_H 22 #define GF_SOCKET_ADDRESS_H 30 #include <sys/socket.h> 36 #ifndef DOXYGEN_SHOULD_SKIP_THIS 108 #ifndef DOXYGEN_SHOULD_SKIP_THIS 130 return reinterpret_cast<const sockaddr*
>(&storage);
137 #ifndef DOXYGEN_SHOULD_SKIP_THIS 142 #endif // GF_SOCKET_ADDRESS_H IPv4 (Internet Protocol version 4)
SocketFamily
A socket family.
Definition: SocketAddress.h:50
sockaddr_storage storage
The storage for the address.
Definition: SocketAddress.h:133
StorageLengthType length
The length of the address.
Definition: SocketAddress.h:134
Unspecified (either IPv4 or IPv6)
const sockaddr * asSockAddr() const
Get the storage as a sockaddr address.
Definition: SocketAddress.h:129
The namespace for gf classes.
Definition: Action.h:35
Allow name resolution for the address.
implementation-defined StorageLengthType
The type to handle the storage length.
Definition: SocketAddress.h:118
IPv6 (Internet Protocol version 6)
Use a numeric form for the address.
SocketAddressFormat
A socket address format.
Definition: SocketAddress.h:62
A socket address.
Definition: SocketAddress.h:78