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

📄 serversock.h

📁 一个简单的服务器客户端通信程序。适用于网络编程入门
💻 H
字号:
#if !defined(AFX_SERVERSOCK_H__A4BB31D7_0A5F_4561_86FE_C96D311E6135__INCLUDED_)
#define AFX_SERVERSOCK_H__A4BB31D7_0A5F_4561_86FE_C96D311E6135__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ServerSock.h : header file
//
#include "NewSocket.h"


/////////////////////////////////////////////////////////////////////////////
// CServerSock command target

class CServerSock : public CAsyncSocket
{
// Attributes
public:
	CNewSocket * m_pSocket;

// Operations
public:
	CServerSock();
	virtual ~CServerSock();

// Overrides
public:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CServerSock)
	//}}AFX_VIRTUAL

	virtual void OnAccept(int nErrorCode);
	// Generated message map functions
	//{{AFX_MSG(CServerSock)
		// 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_SERVERSOCK_H__A4BB31D7_0A5F_4561_86FE_C96D311E6135__INCLUDED_)

⌨️ 快捷键说明

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