📄 newsocket.h
字号:
#if !defined(AFX_NEWSOCKET_H__194FC149_C85F_461A_A193_B2C40BD8F6F7__INCLUDED_)
#define AFX_NEWSOCKET_H__194FC149_C85F_461A_A193_B2C40BD8F6F7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// NewSocket.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CNewSocket command target
class CNewSocket : public CAsyncSocket
{
// Attributes
public:
int m_nLength;
char m_szBuffer[4096];
int nErrorCode;
// Operations
public:
CNewSocket();
virtual ~CNewSocket();
// Overrides
public:
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNewSocket)
public:
virtual void OnReceive(int nErrorCode);
virtual void OnSend(int nErrorCode);
//}}AFX_VIRTUAL
// Generated message map functions
//{{AFX_MSG(CNewSocket)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
// Implementation
protected:
};
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// CNewDataSocket command target
class CNewDataSocket : public CAsyncSocket
{
// Attributes
public:
int m_nLength;
double m_nData[8];
// CPtrArray m_obArray;
double angle[200][8];
// int row;
// Operations
public:
CNewDataSocket();
virtual ~CNewDataSocket();
// Overrides
public:
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNewDataSocket)
public:
virtual void OnReceive(int nErrorCode);
virtual void OnSend(int nErrorCode);
//}}AFX_VIRTUAL
// Generated message map functions
//{{AFX_MSG(CNewDataSocket)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
// Implementation
protected:
};
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// CNewBackDataSocket command target
class CNewBackDataSocket : public CAsyncSocket
{
// Attributes
public:
double backAngle[7];
// Operations
public:
CNewBackDataSocket();
virtual ~CNewBackDataSocket();
// Overrides
public:
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNewBackDataSocket)
public:
virtual void OnReceive(int nErrorCode);
virtual void OnSend(int nErrorCode);
//}}AFX_VIRTUAL
// Generated message map functions
//{{AFX_MSG(CNewBackDataSocket)
// 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_NEWSOCKET_H__194FC149_C85F_461A_A193_B2C40BD8F6F7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -