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

MPNL::MUDPClient Class Reference

#include <MPNLBase.h>

Inheritance diagram for MPNL::MUDPClient:

MPNL::MPNLBase List of all members.

Public Member Functions

 MUDPClient ()
virtual ~MUDPClient ()
bool PrepareToSend ()
virtual int Send (const std::string &msg)
virtual void SetMode (MMode m)

Public Attributes

std::string Host

Constructor & Destructor Documentation

MPNL::MUDPClient::MUDPClient  ) 

virtual MPNL::MUDPClient::~MUDPClient  )  [virtual]

Member Function Documentation

bool MPNL::MUDPClient::PrepareToSend  ) 

Use PrepareToSend once, if you send only message to a specified server on a determined port

     udpclient->Port = 6001;
     udpclient->Host = "";
or you can use SendTo(host,port,msg) to send to several servers or port

virtual int MPNL::MUDPClient::Send const std::string &  msg  )  [virtual]

Send a msg, see SetMode return system's 'send' return value

virtual void MPNL::MUDPClient::SetMode MMode  m  )  [inline, virtual]

Implements MPNL::MPNLBase.

Member Data Documentation

std::string MPNL::MUDPClient::Host

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

MDFS SourceForge project page and download Logo

Generated on Sat Jan 3 03:14:20 2004 for MDFS by doxygen1.3.5