| | |
| | | int m_nBaudRate;
|
| | | CString m_Settings;
|
| | | CRITICAL_SECTION g_cs;
|
| | | bool m_bAutoReConnect = 1;
|
| | | bool m_bUseWorkThread = 0;
|
| | |
|
| | | // CCriticalSection m_CS1;
|
| | | // CCriticalSection m_CS2;
|
| | |
| | | volatile bool MyThreadProc1Running;
|
| | |
|
| | | volatile int RecvBufDataLen = 0;
|
| | | unsigned char * RecvBuf[4096];
|
| | | unsigned char RecvBuf[4096];
|
| | | volatile int RecvBufPos = 0;
|
| | |
|
| | | unsigned char * RecvBuf2[4096];
|
| | | unsigned char RecvBuf2[4096];
|
| | | DWORD m_dwError;
|
| | | CString m_strResult;
|
| | | int m_nCountToTry = 5;
|
| | | int m_nCountToTry = 3;
|
| | | int m_nCountToWait = 1;
|
| | |
|
| | | volatile DWORD TotalSendBytes, TotalRecvBytes;
|