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