Portability Libraries  2015.2.0.0
Common Methods and Objects for Platform Independance.
SoftwareAndServices::Library::Common::Network Class Reference

#include "<SaS/Common/Network.hpp>"

+ Inheritance diagram for SoftwareAndServices::Library::Common::Network:
+ Collaboration diagram for SoftwareAndServices::Library::Common::Network:

Public Member Functions

 Network ()
 
virtual ~Network ()
 
bool Getpeername (int fd)
 
bool SameHost (const char *otherHostName)
 
- Public Member Functions inherited from SoftwareAndServices::Library::Common::instance< Network >
 instance ()
 
virtual InstanceCount_t decInstance () const
 
virtual InstanceCount_t getInstance () const
 
virtual InstanceCount_t incInstance () const
 
void operator delete (void *ToFree)
 

Static Public Member Functions

static const char * GetDnsName ()
 
static bool GetHostByName (const char *host, HostEnt &ent, int *error)
 
static const char * GetHostName ()
 
static bool GetServByName (const char *service, const char *proto, ServEnt &buf)
 
static bool IsSocket (int fd)
 

Public Attributes

struct sockaddr_in Address
 
socklen_t AddressLen
 
char * Hostname
 

Static Public Attributes

static char * OurDnsName
 
static char * OurHostName
 
static int RetryMax
 

Detailed Description

Wrappers for OS independent network information.

Definition at line 263 of file Network.hpp.


The documentation for this class was generated from the following file: