/***************************************************************************** ************************* AIRBORNE SYSTEMS ************************* ************************* COMPUTING DEVICES CANADA ************************* ****************************************************************************** Filename: CClientSocket.h Project: LOCATOR Purpose: C++ definition for the LOCATOR CClientSocket class. This class provides the functionality for client sockets, which are the sockets used to reveice/send messages over an interface. Release: V1.0 Author: Denis Dumas Date: 03-Aug-1999 Modified: *****************************************************************************/ #ifndef __CCLIENTSOCKET_H__ #define __CCLIENTSOCKET_H__ #include "CSocket.h" class CClientSocket : public CSocket { public : CClientSocket(); virtual ~CClientSocket(); int CheckClientSocket ( bool * const pHasData ); int Connect ( const char * const pTerminalName, const unsigned short pTerminalPort ); int Init(); int Init ( const int pSocketDescriptor ); int Read ( void * pBuffer, const int pBufferSize ); int Write ( void * pBuffer, const int pBufferSize ); private : int SetOpts(); }; #endif