📄 wcsock.h
字号:
#if !defined(AFX_WCSOCK_H__66D3826F_3822_11D7_829B_9E6478685947__INCLUDED_)
#define AFX_WCSOCK_H__66D3826F_3822_11D7_829B_9E6478685947__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// WCSock.h : header file
//
#define RE_RECEIVED WM_USER+1
/////////////////////////////////////////////////////////////////////////////
// CWCSock command target
typedef struct
{
char m_strName[255]; //客户名字;
char m_dbData[255]; //要发送的数据或信息;
BOOL m_bOnline; //客户是否在线;
}_DATA;
class CWCSock : public CSocket
{
// Attributes
public:
// Operations
public:
CWCSock();
virtual ~CWCSock();
// Overrides
public:
_DATA m_Dat;
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWCSock)
public:
virtual void OnReceive(int nErrorCode);
//}}AFX_VIRTUAL
// Generated message map functions
//{{AFX_MSG(CWCSock)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
// Implementation
protected:
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WCSOCK_H__66D3826F_3822_11D7_829B_9E6478685947__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -