⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wcsock.h

📁 VC中网络编程的客户方程序
💻 H
字号:
#if !defined(AFX_WCSOCK_H__402AB112_D157_4F24_83DE_1C15D983946B__INCLUDED_)
#define AFX_WCSOCK_H__402AB112_D157_4F24_83DE_1C15D983946B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define RE_RECEIVED WM_USER+1
// WCSock.h : header file
//
typedef struct
{
	char m_strName[255];//客户名字
	char m_strAction[255];//当前操作
	BOOL m_bOnline;//客户是否在线
	BOOL n_bAngular;//是否是角度制
	double m_dbData;//数据
}_DATA;


/////////////////////////////////////////////////////////////////////////////
// CWCSock command target

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__402AB112_D157_4F24_83DE_1C15D983946B__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -