proctcpclientthread.h
来自「一个声讯平台的管理平台.包括平台的客户端何服务器端口.是个不错的软件.」· C头文件 代码 · 共 64 行
H
64 行
#if !defined(AFX_PROCTCPCLIENTTHREAD_H__DD7F260C_73DB_4301_94F1_1B3E90F7DE8B__INCLUDED_)
#define AFX_PROCTCPCLIENTTHREAD_H__DD7F260C_73DB_4301_94F1_1B3E90F7DE8B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ProcTcpClientThread.h : header file
//
#include <afxmt.h>
#include <afxsock.h>
#include "IvrServerDoc.h"
#include "OPERATIONGATEWAY.H"
/////////////////////////////////////////////////////////////////////////////
// CProcTcpClientThread thread
class CProcTcpClientThread : public CWinThread
{
DECLARE_DYNCREATE(CProcTcpClientThread)
protected:
CProcTcpClientThread(); // protected constructor used by dynamic creation
// Attributes
public:
int RemoteClientSocket;
//bool iExit;
CEvent StopEvent;
char cIp[IP_LEN];
char cThreadid[50];
class CIvrServerDoc *m_pDoc;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CProcTcpClientThread)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
virtual int Run();
//}}AFX_VIRTUAL
// Implementation
protected:
int OnSelectSocket();
virtual ~CProcTcpClientThread();
// Generated message map functions
//{{AFX_MSG(CProcTcpClientThread)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PROCTCPCLIENTTHREAD_H__DD7F260C_73DB_4301_94F1_1B3E90F7DE8B__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?