mysock.h
来自「《Visual C++编程技巧典型案例解析:基础与应用篇(下)(含1CD-ROM」· C头文件 代码 · 共 51 行
H
51 行
#if !defined(AFX_MYSOCK_H__979970F7_D64C_42AC_8BA9_EDD6EC420EFD__INCLUDED_)
#define AFX_MYSOCK_H__979970F7_D64C_42AC_8BA9_EDD6EC420EFD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MySock.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMySock command target
class CMySock : public CAsyncSocket
{
// Attributes
public:
// Operations
public:
CMySock();
CMySock(const CMySock& pSocket)
{
pSock=pSocket.pSock;
}
SOCKET pSock;
virtual ~CMySock();
// Overrides
public:
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMySock)
//}}AFX_VIRTUAL
// Generated message map functions
//{{AFX_MSG(CMySock)
// 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_MYSOCK_H__979970F7_D64C_42AC_8BA9_EDD6EC420EFD__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?