source: trunk/MagicSoft/Cosy/tcpip/MTcpIpIO.h@ 3570

Last change on this file since 3570 was 2384, checked in by tbretz, 21 years ago
*** empty log message ***
File size: 526 bytes
Line 
1#ifndef COSY_MTcpIpIO
2#define COSY_MTcpIpIO
3
4#ifndef COSY_MThread
5#include "MThread.h"
6#endif
7#ifndef COSY_Log
8#include "log.h"
9#endif
10
11class TString;
12class TSocket;
13class TServerSocket;
14
15class MTcpIpIO : public MThread, public Log
16{
17private:
18 TSocket *fTxSocket;
19 TSocket *fRxSocket;
20 TServerSocket *fServSock;
21
22 void Clear();
23
24public:
25 MTcpIpIO(MLog &out=gLog);
26 ~MTcpIpIO();
27
28 virtual bool Send(const char *msg);
29 virtual bool InterpreteStr(TString str);
30
31 void *Thread();
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.