Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NetHost Class Reference

Collaboration diagram for NetHost:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 NetHost (const char *hostname)
 NetHost (struct sockaddr_in *addr)
 NetHost (CNetHost &rhs)
NetHostoperator= (CNetHost &rhs)
int port (void) const
str_ptr name (void) const
void get_address (struct sockaddr_in *addr) const

Protected Attributes

unsigned long addr_
str_ptr name_
int port_

Detailed Description

Definition at line 335 of file net.C.


Constructor & Destructor Documentation

NetHost::NetHost const char *  hostname  ) 
 

Definition at line 360 of file net.C.

References addr_, name_, and port_.

NetHost::NetHost struct sockaddr_in *  addr  ) 
 

Definition at line 391 of file net.C.

References addr_, name_, and port_.

NetHost::NetHost CNetHost &  rhs  )  [inline]
 

Definition at line 345 of file net.C.


Member Function Documentation

void NetHost::get_address struct sockaddr_in *  addr  )  const [inline]
 

Definition at line 351 of file net.C.

References addr_.

Referenced by NetStream::NetStream().

str_ptr NetHost::name void   )  const [inline]
 

Definition at line 350 of file net.C.

References name_.

Referenced by NetStream::NetStream().

NetHost& NetHost::operator= CNetHost &  rhs  )  [inline]
 

Definition at line 346 of file net.C.

References addr_, name_, and port_.

int NetHost::port void   )  const [inline]
 

Definition at line 349 of file net.C.

References port_.


Member Data Documentation

unsigned long NetHost::addr_ [protected]
 

Definition at line 337 of file net.C.

Referenced by get_address(), NetHost(), and operator=().

str_ptr NetHost::name_ [protected]
 

Definition at line 338 of file net.C.

Referenced by name(), NetHost(), and operator=().

int NetHost::port_ [protected]
 

Definition at line 339 of file net.C.

Referenced by NetHost(), operator=(), and port().


The documentation for this class was generated from the following file:
Generated on Mon Sep 18 11:46:44 2006 for jot by  doxygen 1.4.4