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

📄 serversock.h

📁 控制机器人完成螺丝刀插孔实验
💻 H
字号:
#if !defined(AFX_SERVERSOCK_H__6FE9DD55_650C_4F8C_B55C_18E958CC97A8__INCLUDED_)
#define AFX_SERVERSOCK_H__6FE9DD55_650C_4F8C_B55C_18E958CC97A8__INCLUDED_

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

#include "NewSocket.h"

/////////////////////////////////////////////////////////////////////////////
// CServerSock command target

class CServerSock : public CAsyncSocket
{
// Attributes
public:
	CNewSocket* m_pSocket;
	BOOL m_bConnected;

// Operations
public:
	CServerSock();
	virtual ~CServerSock();

// Overrides
public:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CServerSock)
	public:
	virtual void OnAccept(int nErrorCode);
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CServerSock)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

// Implementation
protected:
};

/////////////////////////////////////////////////////////////////////////////



/////////////////////////////////////////////////////////////////////////////
// CServerDataSock command target

class CServerDataSock : public CAsyncSocket
{
// Attributes
public:
	CNewDataSocket* m_pDataSocket;

// Operations
public:
	CServerDataSock();
	virtual ~CServerDataSock();

// Overrides
public:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CServerDataSock)
	public:
	virtual void OnAccept(int nErrorCode);
	//}}AFX_VIRTUAL

	// Generated message map functions
	//{{AFX_MSG(CServerDataSock)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG

// Implementation
protected:
};

/////////////////////////////////////////////////////////////////////////////


/////////////////////////////////////////////////////////////////////////////
// CServerBackDataSock command target

class CServerBackDataSock : public CAsyncSocket
{
// Attributes
public:
	CNewBackDataSocket *m_backDataSocket;

// Operations
public:
	CServerBackDataSock();
	virtual ~CServerBackDataSock();

// Overrides
public:
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CServerBackDataSock)
	public:
	virtual void OnAccept(int nErrorCode);
	//}}AFX_VIRTUAL

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

⌨️ 快捷键说明

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