#include <ip.h>
Public Types | |
typedef ConexusPointer< IP > | pointer |
Class typedef to smart pointer. | |
Public Member Functions | |
virtual | ~IP () throw () |
virtual IPAddressInterface & | generic_local_address ()=0 |
virtual IPAddressInterface & | generic_remote_address ()=0 |
int | ttl () |
void | set_ttl (int t) |
TOS | tos () |
void | set_tos (TOS t) |
Protected Member Functions | |
IP (int domain=-1, int type=-1, int protocol=0) |
typedef ConexusPointer<IP> Conexus::IP::pointer |
Class typedef to smart pointer.
Reimplemented from Conexus::Socket.
Reimplemented in Conexus::IPv4::IP, Conexus::IPv4::TCP, Conexus::IPv4::UDP, Conexus::IPv4::UDPPoset, Conexus::IPv6::IP, Conexus::IPv6::TCP, Conexus::IPv6::UDP, Conexus::IPv6::UDPPoset, Conexus::SSL::IPv4::TCP, Conexus::SSL::IPv4::UDP, and Conexus::SSL::IPv6::TCP.
Conexus::IP::IP | ( | int | domain = -1 , |
|
int | type = -1 , |
|||
int | protocol = 0 | |||
) | [protected] |
Conexus::IP::~IP | ( | ) | throw () [virtual] |
Reimplemented in Conexus::IPv4::IP, and Conexus::IPv6::IP.
virtual IPAddressInterface& Conexus::IP::generic_local_address | ( | ) | [pure virtual] |
Implemented in Conexus::IPv4::IP, and Conexus::IPv6::IP.
virtual IPAddressInterface& Conexus::IP::generic_remote_address | ( | ) | [pure virtual] |
Implemented in Conexus::IPv4::IP, and Conexus::IPv6::IP.
void Conexus::IP::set_tos | ( | TOS | t | ) |
References Conexus::Socket::set_option().
void Conexus::IP::set_ttl | ( | int | t | ) |
References Conexus::Socket::set_option().
TOS Conexus::IP::tos | ( | ) |
References Conexus::Socket::option().
int Conexus::IP::ttl | ( | ) |
References Conexus::Socket::option().