|
| | ACE_Multihomed_INET_Addr (void) |
| | Default constructor. More...
|
| |
| | ACE_Multihomed_INET_Addr (const char address[]) |
| |
| | ACE_Multihomed_INET_Addr (u_short port_number, const char primary_host_name[], int encode=1, int address_family=AF_UNSPEC, const char *(secondary_host_names[])=0, size_t size=0) |
| |
| | ACE_Multihomed_INET_Addr (u_short port_number, ACE_UINT32 primary_ip_addr=INADDR_ANY, int encode=1, const ACE_UINT32 *secondary_ip_addrs=0, size_t size=0) |
| |
| | ACE_Multihomed_INET_Addr (u_short port_number, const wchar_t primary_host_name[], int encode=1, int address_family=AF_UNSPEC, const wchar_t *(secondary_host_names[])=0, size_t size=0) |
| |
| int | set (u_short port_number, const wchar_t primary_host_name[], int encode=1, int address_family=AF_UNSPEC, const wchar_t *(secondary_host_names[])=0, size_t size=0) |
| |
| | ~ACE_Multihomed_INET_Addr (void) |
| | Use compiler-generated copy constructor. More...
|
| |
| int | set (u_short port_number, const char primary_host_name[], int encode=1, int address_family=AF_UNSPEC, const char *(secondary_host_names[])=0, size_t size=0) |
| |
| int | set (u_short port_number, ACE_UINT32 primary_ip_addr=INADDR_ANY, int encode=1, const ACE_UINT32 *secondary_ip_addrs=0, size_t size=0) |
| |
| void | set_port_number (u_short port_number, int encode=1) |
| |
| size_t | get_num_secondary_addresses () const |
| |
| int | get_secondary_addresses (ACE_INET_Addr *secondary_addrs, size_t size) const |
| |
| void | get_addresses (sockaddr_in *addrs, size_t size) const |
| |
| void | get_addresses (sockaddr_in6 *addrs, size_t size) const |
| | IPV6 version of the above. More...
|
| |
| | ACE_INET_Addr (void) |
| | Default constructor. More...
|
| |
| | ACE_INET_Addr (const ACE_INET_Addr &) |
| | Copy constructor. More...
|
| |
| | ACE_INET_Addr (const sockaddr_in *addr, int len) |
| | Creates an ACE_INET_Addr from a sockaddr_in structure. More...
|
| |
| | ACE_INET_Addr (u_short port_number, const char host_name[], int address_family=AF_UNSPEC) |
| |
| | ACE_INET_Addr (const char address[], int address_family=AF_UNSPEC) |
| |
| | ACE_INET_Addr (u_short port_number, ACE_UINT32 ip_addr=INADDR_ANY) |
| |
| | ACE_INET_Addr (const char port_name[], const char host_name[], const char protocol[]="tcp") |
| |
| | ACE_INET_Addr (const char port_name[], ACE_UINT32 ip_addr, const char protocol[]="tcp") |
| |
| | ACE_INET_Addr (u_short port_number, const wchar_t host_name[], int address_family=AF_UNSPEC) |
| |
| | ACE_INET_Addr (const wchar_t address[], int address_family=AF_UNSPEC) |
| |
| | ACE_INET_Addr (const wchar_t port_name[], const wchar_t host_name[], const wchar_t protocol[]=ACE_TEXT_WIDE("tcp")) |
| |
| | ACE_INET_Addr (const wchar_t port_name[], ACE_UINT32 ip_addr, const wchar_t protocol[]=ACE_TEXT_WIDE("tcp")) |
| |
| | ~ACE_INET_Addr (void) |
| | Default dtor. More...
|
| |
| ACE_INET_Addr & | operator= (const ACE_INET_Addr &rhs) |
| |
| int | set (const ACE_INET_Addr &) |
| | Initializes from another ACE_INET_Addr. More...
|
| |
| int | set (u_short port_number, const char host_name[], int encode=1, int address_family=AF_UNSPEC) |
| |
| int | set (u_short port_number, ACE_UINT32 ip_addr=INADDR_ANY, int encode=1, int map=0) |
| |
| int | set (const char port_name[], const char host_name[], const char protocol[]="tcp") |
| |
| int | set (const char port_name[], ACE_UINT32 ip_addr, const char protocol[]="tcp") |
| |
| int | set (const char addr[], int address_family=AF_UNSPEC) |
| |
| int | set (const sockaddr_in *, int len) |
| | Creates an ACE_INET_Addr from a sockaddr_in structure. More...
|
| |
| int | set (u_short port_number, const wchar_t host_name[], int encode=1, int address_family=AF_UNSPEC) |
| |
| int | set (const wchar_t port_name[], const wchar_t host_name[], const wchar_t protocol[]=ACE_TEXT_WIDE("tcp")) |
| |
| int | set (const wchar_t port_name[], ACE_UINT32 ip_addr, const wchar_t protocol[]=ACE_TEXT_WIDE("tcp")) |
| |
| int | set (const wchar_t addr[], int address_family=AF_UNSPEC) |
| |
| virtual void * | get_addr (void) const |
| | Return a pointer to the underlying network address. More...
|
| |
| int | get_addr_size (void) const |
| |
| virtual void | set_addr (const void *, int len) |
| | Set a pointer to the address. More...
|
| |
| virtual void | set_addr (const void *, int len, int map) |
| | Set a pointer to the address. More...
|
| |
| virtual int | addr_to_string (ACE_TCHAR buffer[], size_t size, int ipaddr_format=1) const |
| |
| virtual int | string_to_addr (const char address[], int address_family=AF_UNSPEC) |
| |
| void | set_port_number (u_short, int encode=1) |
| |
| int | set_address (const char *ip_addr, int len, int encode=1, int map=0) |
| |
| int | set_interface (const char *intf_name) |
| |
| u_short | get_port_number (void) const |
| | Return the port number, converting it into host byte-order. More...
|
| |
| int | get_host_name (char hostname[], size_t hostnamelen) const |
| |
| int | get_host_name (wchar_t hostname[], size_t hostnamelen) const |
| |
| const char * | get_host_name (void) const |
| |
| const char * | get_host_addr (char *addr, int addr_size) const |
| |
| const char * | get_host_addr (void) const |
| |
| ACE_UINT32 | get_ip_address (void) const |
| |
| bool | is_any (void) const |
| | Return true if the IP address is INADDR_ANY or IN6ADDR_ANY. More...
|
| |
| bool | is_loopback (void) const |
| | Return true if the IP address is IPv4/IPv6 loopback address. More...
|
| |
| bool | is_multicast (void) const |
| | Return true if the IP address is IPv4/IPv6 multicast address. More...
|
| |
| bool | is_linklocal (void) const |
| | Return true if the IP address is IPv6 linklocal address. More...
|
| |
| bool | is_ipv4_mapped_ipv6 (void) const |
| | Return true if the IP address is IPv4-mapped IPv6 address. More...
|
| |
| bool | is_ipv4_compat_ipv6 (void) const |
| | Return true if the IP address is IPv4-compatible IPv6 address. More...
|
| |
| bool | operator< (const ACE_INET_Addr &rhs) const |
| |
| bool | operator== (const ACE_INET_Addr &SAP) const |
| |
| bool | operator!= (const ACE_INET_Addr &SAP) const |
| | Compare two addresses for inequality. More...
|
| |
| bool | is_ip_equal (const ACE_INET_Addr &SAP) const |
| |
| virtual u_long | hash (void) const |
| | Computes and returns hash value. More...
|
| |
| bool | next (void) |
| |
| void | reset (void) |
| | Reset the set of address so they can be scanned again using next(). More...
|
| |
| void | dump (void) const |
| | Dump the state of an object. More...
|
| |
| | ACE_Addr (int type=-1, int size=-1) |
| | Initializes instance variables. More...
|
| |
| virtual | ~ACE_Addr (void) |
| | Destructor. More...
|
| |
| int | get_size (void) const |
| | Return the size of the address. More...
|
| |
| void | set_size (int size) |
| | Sets the size of the address. More...
|
| |
| int | get_type (void) const |
| | Get the type of the address. More...
|
| |
| void | set_type (int type) |
| | Set the type of the address. More...
|
| |
| bool | operator== (const ACE_Addr &sap) const |
| | Check for address equality. More...
|
| |
| bool | operator!= (const ACE_Addr &sap) const |
| | Check for address inequality. More...
|
| |
| void | base_set (int type, int size) |
| | Initializes instance variables. More...
|
| |
| void | dump (void) const |
| | Dump the state of an object. More...
|
| |
Extends ACE_INET_Addr with support for multi-homed addresses.