NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SSocketAddressImpl Struct Reference

Search Toolkit Book for SSocketAddressImpl

+ Inheritance diagram for SSocketAddressImpl:
+ Collaboration diagram for SSocketAddressImpl:

Public Member Functions

unsigned GetHost (const string &name) const
 
const stringGetName (unsigned host)
 

Static Public Member Functions

static SSocketAddressImplGetInstance ()
 

Private Attributes

map< unsigned, stringm_Data
 

Additional Inherited Members

- Protected Member Functions inherited from CConnIniter
 CConnIniter (void)
 

Detailed Description

Definition at line 55 of file connect_misc.cpp.

Member Function Documentation

◆ GetHost()

unsigned SSocketAddressImpl::GetHost ( const string name) const
inline

Definition at line 58 of file connect_misc.cpp.

References eOn, and CSocketAPI::gethostbyname().

◆ GetInstance()

static SSocketAddressImpl& SSocketAddressImpl::GetInstance ( void  )
inlinestatic

Definition at line 79 of file connect_misc.cpp.

Referenced by SSocketAddress::GetHostName().

◆ GetName()

const string& SSocketAddressImpl::GetName ( unsigned  host)
inline

Definition at line 63 of file connect_misc.cpp.

References eOn, CSocketAPI::gethostbyaddr(), m_Data, and CSocketAPI::ntoa().

Referenced by SSocketAddress::GetHostName().

Member Data Documentation

◆ m_Data

map<unsigned, string> SSocketAddressImpl::m_Data
private

Definition at line 86 of file connect_misc.cpp.

Referenced by GetName().


The documentation for this struct was generated from the following file:
Modified on Mon May 27 04:38:07 2024 by modify_doxy.py rev. 669887