Main Page | Class Hierarchy | Class List | Directories | File List | Class Members | File Members | Related Pages

RNReplicaNet::XPAddress Struct Reference

#include <XPSocket.h>

List of all members.

Public Member Functions

 XPAddress (std::string addr)
 XPAddress (const int port, unsigned char addr1, unsigned char addr2, unsigned char addr3, unsigned char addr4)
 XPAddress ()
std::string Export (void)

Public Attributes

int port
unsigned char addr [4]


Detailed Description

This is an address that the sockets use


Constructor & Destructor Documentation

XPAddress::XPAddress std::string  addr  ) 
 

ctor that accepts a std::string in the form xx.xx.xx.xx:xx and converts it to an address

XPAddress::XPAddress const int  port,
unsigned char  addr1,
unsigned char  addr2,
unsigned char  addr3,
unsigned char  addr4
 

ctor for XPAddress that allows the structure to be constructed in a C++ fashion

XPAddress::XPAddress  ) 
 

default ctor, all members are left alone


Member Function Documentation

std::string XPAddress::Export void   ) 
 

Exports the XPAddress as a std::string

Returns:
returns the std::string version of this XPAddress


Member Data Documentation

unsigned char RNReplicaNet::XPAddress::addr[4]
 

The IP addr for this structure

int RNReplicaNet::XPAddress::port
 

The port number for this address


The documentation for this struct was generated from the following files:
Generated on Sun Oct 30 01:12:22 2005 for XPSockets by  doxygen 1.4.1