Parent Directory | Revision Log
Make TcpClientClass responsible for all the serial communication
1 | #pragma once |
2 | #include "afxsock.h" |
3 | |
4 | |
5 | |
6 | class TcpClientClass : |
7 | public CSocket |
8 | { |
9 | public: |
10 | bool isClosed; |
11 | |
12 | short mLed3, mLed4, mLed5; |
13 | short mSw2, mSw3; |
14 | short mTemp, mPot; |
15 | |
16 | TcpClientClass(void); |
17 | ~TcpClientClass(void); |
18 | virtual void OnReceive(int nErrorCode); |
19 | |
20 | void SendReply(void); |
21 | virtual void OnClose(int nErrorCode); |
22 | }; |
ViewVC Help | |
Powered by ViewVC 1.1.20 |