NCBI C++ ToolKit
Public Types | Public Member Functions | Public Attributes | List of all members
SSocketAddress::SHost Struct Reference

Search Toolkit Book for SSocketAddress::SHost

#include <connect/impl/connect_misc.hpp>

Public Types

enum class  EName { eResolved , eOriginal }

Public Member Functions

 SHost (unsigned h)
 SHost (const string &h, EName n=EName::eResolved)

Public Attributes

std::optional< stringname
unsigned host

Detailed Description

Definition at line 57 of file connect_misc.hpp.

Member Enumeration Documentation

◆ EName


Definition at line 59 of file connect_misc.hpp.

Constructor & Destructor Documentation

◆ SHost() [1/2]

SSocketAddress::SHost::SHost ( unsigned  h)

Definition at line 64 of file connect_misc.hpp.

◆ SHost() [2/2]

SSocketAddress::SHost::SHost ( const string h,
EName  n = EName::eResolved 

Definition at line 89 of file connect_misc.cpp.

Member Data Documentation

◆ host

unsigned SSocketAddress::SHost::host

Definition at line 62 of file connect_misc.hpp.

◆ name

std::optional<string> SSocketAddress::SHost::name

Definition at line 61 of file connect_misc.hpp.

The documentation for this struct was generated from the following files:
Modified on Wed May 29 18:40:17 2024 by rev. 669887