?? mysocket.h
字號:
#if !defined(AFX_MYSOCKET_H__22D4A0FD_FBEB_499A_9CF7_C7E72489E91B__INCLUDED_)
#define AFX_MYSOCKET_H__22D4A0FD_FBEB_499A_9CF7_C7E72489E91B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// mysocket.h : header file
//
//作者:趙明
//EMAIL:zmpapaya@hotmail.com;papaya_zm@sina.com
//主頁:http://h2osky.126.com
/////////////////////////////////////////////////////////////////////////////
// mysocket command target
class CServer1View;
//派生了一個異步的套接字類
class mysocket : public CAsyncSocket
{
// Attributes 新的套接字
public:
CServer1View* CSView;
char m_buf[255];
// Operations
public:
mysocket(CServer1View* Ciew);
virtual ~mysocket();
// Overrides
public:
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(mysocket)
//}}AFX_VIRTUAL
virtual void OnReceive(int nErrorCode);
virtual void OnAccept(int nErrorCode);
// Generated message map functions
//{{AFX_MSG(mysocket)
// 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__22D4A0FD_FBEB_499A_9CF7_C7E72489E91B__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -