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

MCNetAddr Class Reference

Representation of a network address. More...

#include <mcllib/MCSocket.h>

Inheritance diagram for MCNetAddr:

MCBase List of all members.

Public Member Functions

const void * getAddr () const
 Get an address structure for use by the socket implementation.
MCString toString () const
 Convert the address to a string representation.

Friends

class mclpriv::MCNetAddrFactory
class MCRecvFromResult

Detailed Description

Representation of a network address.

Uses reference counting internally to reduce memory overhead.


Member Function Documentation

const void* getAddr  )  const
 

Get an address structure for use by the socket implementation.

Returns:
an implementation specific address. The returned address is used by the socket implementation.

MCString toString  )  const
 

Convert the address to a string representation.

Returns:
a string representation of an address


Generated on Wed Jan 12 19:05:49 2005 for MCLLIB by  doxygen 1.3.9.1