Reference | Class Hierarchy | Class Index | Member Index |
Inheritance diagram for IP_Network_Interface_Socket_Option:
Public Member Functions | |
IP_Network_Interface_Socket_Option () | |
Default constructor initialises contained value to "any" interface. | |
IP_Network_Interface_Socket_Option (const asio::ip::address_v4 &ipv4_interface) | |
Construct with a specific IPv4 address. | |
IP_Network_Interface_Socket_Option (unsigned long ipv6_interface) | |
Construct with a specific IPv6 interface index. | |
template<typename Protocol> | |
int | level (const Protocol &protocol) const |
Get the level of the socket option. | |
template<typename Protocol> | |
int | name (const Protocol &protocol) const |
Get the name of the socket option. | |
template<typename Protocol> | |
implementation_defined | data (const Protocol &protocol) |
Get a pointer to the socket option data. | |
template<typename Protocol> | |
implementation_defined | data (const Protocol &protocol) const |
Get a pointer to the socket option data. | |
template<typename Protocol> | |
std::size_t | size (const Protocol &protocol) const |
Get the size of the socket option data in bytes. |
IP_Network_Interface_Socket_Option::IP_Network_Interface_Socket_Option | ( | ) |
Default constructor initialises contained value to "any" interface.
IP_Network_Interface_Socket_Option::IP_Network_Interface_Socket_Option | ( | const asio::ip::address_v4 & | ipv4_interface | ) |
Construct with a specific IPv4 address.
IP_Network_Interface_Socket_Option::IP_Network_Interface_Socket_Option | ( | unsigned long | ipv6_interface | ) |
Construct with a specific IPv6 interface index.
int Socket_Option::level | ( | const Protocol & | protocol | ) | const [inherited] |
Get the level of the socket option.
int Socket_Option::name | ( | const Protocol & | protocol | ) | const [inherited] |
Get the name of the socket option.
implementation_defined Socket_Option::data | ( | const Protocol & | protocol | ) | [inherited] |
Get a pointer to the socket option data.
implementation_defined Socket_Option::data | ( | const Protocol & | protocol | ) | const [inherited] |
Get a pointer to the socket option data.
std::size_t Socket_Option::size | ( | const Protocol & | protocol | ) | const [inherited] |
Get the size of the socket option data in bytes.