MOOS

CMOOSCommObject Class Reference

#include <MOOSCommObject.h>

Inheritance diagram for CMOOSCommObject:

CMOOSCommClient CMOOSCommServer List of all members.

Static Public Member Functions

static bool SocketsInit ()
 called to intialise system socket services. Only does something useful in Win32 land

Protected Member Functions

bool SendPkt (XPCTcpSocket *pSocket, CMOOSCommPkt &PktTx)
bool ReadPkt (XPCTcpSocket *pSocket, CMOOSCommPkt &PktRx, int nSecondsTimeOut=-1)
bool SendMsg (XPCTcpSocket *pSocket, CMOOSMsg &Msg)
bool ReadMsg (XPCTcpSocket *pSocket, CMOOSMsg &Msg, int nSecondsTimeOut=-1)

Detailed Description

A base class for the CMOOSCommServer and CMOOSCommClient objects. This class provides basic Receive and Transmit capabilities of CMOOSMsg's and CMOOSCommPkts. Where messages are passed as parameters then there are transparently packed into packets.


The documentation for this class was generated from the following files:
Generated on Fri Sep 28 20:14:20 2007 for MOOSLIB by  doxygen 1.4.6