?? mysocket.h
字號:
#if !defined(AFX_MYSOCKET_H__D7DD10EE_29E0_11D5_9125_0080AD831967__INCLUDED_)
#define AFX_MYSOCKET_H__D7DD10EE_29E0_11D5_9125_0080AD831967__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MySocket.h : header file
//
class CTalkDlg;
/////////////////////////////////////////////////////////////////////////////
// CMySocket command target
class CMySocket : public CAsyncSocket
{
// Attributes
public:
// Operations
public:
CMySocket();
virtual ~CMySocket();
// Overrides
public:
virtual void OnReceive(int nErrorCode);
virtual void OnConnect(int nErrorCode);
virtual void OnClose(int nErrorCode);
virtual void OnAccept(int nErrorCode);
void SetParent( CTalkDlg* pDlg );
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMySocket)
//}}AFX_VIRTUAL
// Generated message map functions
//{{AFX_MSG(CMySocket)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
// Implementation
protected:
private:
CTalkDlg* m_pDlg;
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYSOCKET_H__D7DD10EE_29E0_11D5_9125_0080AD831967__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -