#include <ipcplus.h>
Inheritance diagram for IPC::MsgServer::

Public Methods | |
| MsgServer (const unsigned int key0) | |
| Constructor. | |
| virtual | ~MsgServer () |
| Destructor. | |
| virtual bool | xmit (const void *data, const size_t size) |
| Transmit a reply to the current client. More... | |
| virtual bool | recv (void *mData, size_t &mSize) |
| Receive a request. More... | |
Private Attributes | |
| int | nextClient |
| Used for the automatic client identification. | |
|
||||||||||||
|
Receive a request. This methode automatically handles client registration in conjunction with the MsgClient class below. Clients register with the server to obtain a unique identification (address) which is handled transparantly by this method. The server MUST call xmit() before calling recv() again or the client will hang.
|
|
||||||||||||
|
Transmit a reply to the current client. The current client is determined by the recv() method below.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001