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

📄 mysocket.h

📁 给出了在Winsock的支持下用Visual C++制作聊天室的过程,不必关心系统内部复杂的机制.
💻 H
字号:
#if !defined(AFX_MYSOCKET_H__64112455_83A8_485C_B86E_04732403BD9C__INCLUDED_)
#define AFX_MYSOCKET_H__64112455_83A8_485C_B86E_04732403BD9C__INCLUDED_
#include "ClientDlg.h"
#include "Afxsock.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Mysocket.h : header file
//



/////////////////////////////////////////////////////////////////////////////
// CMysocket command target
class CClientDlg ;
class CMysocket : public CSocket
{
// Attributes
public:

// Operations
public:
	CMysocket(CClientDlg* pDlg);
	virtual ~CMysocket();
	CClientDlg* pClientdlg;
// Overrides
public:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMysocket)
	public:
	virtual void OnReceive(int nErrorCode);
	virtual void OnClose(int nErrorCode);
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CMysocket)
		// 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_MYSOCKET_H__64112455_83A8_485C_B86E_04732403BD9C__INCLUDED_)

⌨️ 快捷键说明

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