sock.h

来自「是一个ARM上面的PDA开发用的聊天工具,分为客户端与服务器端,纯LINUX环境」· C头文件 代码 · 共 52 行

H
52
字号
#if !defined(AFX_SOCK_H__5BCD0582_F99D_4888_BF64_8F875E3542EF__INCLUDED_)
#define AFX_SOCK_H__5BCD0582_F99D_4888_BF64_8F875E3542EF__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// sock.h : header file
//

class CSDlg;

/////////////////////////////////////////////////////////////////////////////
// Csock command target

class Csock : public CSocket //套接字类
{
// Attributes
public:

// Operations
public:
	Csock(CSDlg* pd);
	virtual ~Csock();

// Overrides
public:
	CString m_ip_pot;
	CSDlg * pDlg;
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(Csock)
	public:
	virtual void OnAccept(int nErrorCode);
	virtual void OnClose(int nErrorCode);
	virtual void OnReceive(int nErrorCode);
	//}}AFX_VIRTUAL

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

⌨️ 快捷键说明

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