#include "ace/Sock_Connect.h"
#include "ace/INET_Addr.h"
#include "ace/Log_Msg.h"
#include "ace/Handle_Set.h"
#include "ace/Auto_Ptr.h"
#include "ace/SString.h"
#include "ace/OS_Memory.h"
#include "ace/OS_NS_stdio.h"
#include "ace/OS_NS_stdlib.h"
#include "ace/OS_NS_string.h"
#include "ace/OS_NS_sys_socket.h"
#include "ace/OS_NS_netdb.h"
#include "ace/OS_NS_unistd.h"
#include "ace/os_include/net/os_if.h"
#include "ace/Guard_T.h"
#include "ace/Recursive_Thread_Mutex.h"
#include "ace/Object_Manager.h"
Include dependency graph for Sock_Connect.cpp:
Defines | |
#define | SIOCGIFCONF_CMD SIOCGIFCONF |
#define | IFREQ ifreq |
#define | IFCONF ifconf |
#define | IFC_REQ ifc_req |
#define | IFC_LEN ifc_len |
#define | IFC_BUF ifc_buf |
#define | IFR_ADDR ifr_addr |
#define | IFR_NAME ifr_name |
#define | IFR_FLAGS ifr_flags |
#define | SA_FAMILY sa_family |
Enumerations | |
enum | ACE_WINDOWS_VERSION { ACE_WINDOWS_IS_UNKNOWN, ACE_WINDOWS_IS_WIN95, ACE_WINDOWS_IS_WIN98, ACE_WINDOWS_IS_WINME, ACE_WINDOWS_IS_WINNT, ACE_WINDOWS_IS_WIN2K, ACE_WINDOWS_IS_WINCE } |
Functions | |
static int | get_reg_subkeys (const ACE_TCHAR *key, ACE_TCHAR *buffer, DWORD &buf_len) |
static int | get_reg_value (const ACE_TCHAR *key, const ACE_TCHAR *name, ACE_TCHAR *buffer, DWORD &buf_len, int all_subkeys=0) |
static ACE_WINDOWS_VERSION | get_windows_version () |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL int | ACE::bind_port (ACE_HANDLE handle, ACE_UINT32 ip_addr=INADDR_ANY, int address_family=AF_UNSPEC) |
Bind a new unused port to handle. | |
int | ACE::get_bcast_addr (ACE_UINT32 &bcast_addr, const ACE_TCHAR *host_name, ACE_UINT32 host_addr, ACE_HANDLE handle) |
int | ACE::get_fqdn (ACE_INET_Addr const &addr, char hostname[], size_t len) |
Get fully qualified host/domain name. | |
static int | get_ip_interfaces_win32 (size_t &count, ACE_INET_Addr *&addrs) |
int | ACE::get_ip_interfaces (size_t &count, ACE_INET_Addr *&addrs) |
int | ACE::count_interfaces (ACE_HANDLE handle, size_t &how_many) |
ACE_HANDLE | ACE::get_handle (void) |
static int | ip_check (int &ipvn_enabled, int pf) |
bool | ACE::ipv4_enabled (void) |
int | ACE::ipv6_enabled (void) |
Variables | |
int | ace_ipv4_enabled = -1 |
int | ace_ipv6_enabled = -1 |
#define IFC_BUF ifc_buf |
#define IFC_LEN ifc_len |
#define IFC_REQ ifc_req |
#define IFCONF ifconf |
#define IFR_ADDR ifr_addr |
#define IFR_FLAGS ifr_flags |
#define IFR_NAME ifr_name |
#define IFREQ ifreq |
#define SA_FAMILY sa_family |
#define SIOCGIFCONF_CMD SIOCGIFCONF |
enum ACE_WINDOWS_VERSION |
static int get_ip_interfaces_win32 | ( | size_t & | count, | |
ACE_INET_Addr *& | addrs | |||
) | [static] |
static int get_reg_value | ( | const ACE_TCHAR * | key, | |
const ACE_TCHAR * | name, | |||
ACE_TCHAR * | buffer, | |||
DWORD & | buf_len, | |||
int | all_subkeys = 0 | |||
) | [static] |
static ACE_WINDOWS_VERSION get_windows_version | ( | ) | [static] |
static int ip_check | ( | int & | ipvn_enabled, | |
int | pf | |||
) | [static] |
int ace_ipv4_enabled = -1 [static] |
int ace_ipv6_enabled = -1 [static] |