TCPIP SERVER

This commit is contained in:
TAO Cheng
2014-11-12 08:58:34 +08:00
parent b94f3d2cf3
commit cba2694c0c
7 changed files with 123 additions and 31 deletions
@@ -93,7 +93,7 @@ public:
static struct_so7_tcpip_buff m_TCPIPBuf[lChannelSize];
static s_tcpip_state m_TCPIPServerState;
int m_CCDData[MAX_CCD_ADDR];
int m_CCDData_D10000[MAX_CCD_ADDR];
BOOL StartServer(HWND _hWnd,short _nPort);
BOOL StopServer();
@@ -103,6 +103,7 @@ public:
BOOL Response_Sensor_State(short _datasize);
BOOL Response_CCD_DATA(short _Addr,short _datasize);
BOOL RESPONSE_UNKNOWN_State();
LRESULT OnSocket(WPARAM wParam, LPARAM lParam);
private: