ns::Host Class Reference

Host identification class. More...

#include <ns_host.h>

List of all members.

Public Member Functions

 Host ()
 Dummy constructor.
 Host (struct sockaddr_in s)
 Creates new host by specified SIN structure.
 Host (char *host, unsigned int port)
 Creates new host by specifing host name and port.
void getSin (struct sockaddr_in *s)
 Gets host SIN structure.


Detailed Description

Host identification class.


Constructor & Destructor Documentation

ns::Host::Host ( struct sockaddr_in  s  ) 

Creates new host by specified SIN structure.

Parameters:
s SIN structure for new created host.

ns::Host::Host ( char *  host,
unsigned int  port 
)

Creates new host by specifing host name and port.

Parameters:
host Hostname
port Port


Member Function Documentation

void ns::Host::getSin ( struct sockaddr_in *  s  ) 

Gets host SIN structure.

Parameters:
s Host SIN structure.


The documentation for this class was generated from the following files:
Generated on Mon Aug 6 09:36:19 2007 for NetStreamlibrary by  doxygen 1.5.1