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

📄 tcpip_com.h

📁 《WinCE.NET嵌入式工业用控制器及自动控制系统设计》的源代码
💻 H
字号:
#if !defined(AFX_TCPIP_COM_H__C6A5A3F8_DDC0_4E3B_A5B9_75BDD2555525__INCLUDED_)
#define AFX_TCPIP_COM_H__C6A5A3F8_DDC0_4E3B_A5B9_75BDD2555525__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CTCPIP_COM dialog

class CTCPIP_COM : public CDialog
{
// Construction
public:
	CTCPIP_COM(CWnd* pParent = NULL);   // standard constructor

//----------------- Demo_01 add -------------------
    SOCKET socket_hd;    // Socket Handle
//--------------- end of add ----------------------

// Dialog Data
	//{{AFX_DATA(CTCPIP_COM)
	enum { IDD = IDD_TCPIP_DIALOG };
	CString	m_ip_addr;
	CString	m_data;
	int		m_portno;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTCPIP_COM)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CTCPIP_COM)
	afx_msg void OnConnect();
	afx_msg void OnTcpSend();
	virtual BOOL OnInitDialog();
	afx_msg void OnDisconnect();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TCPIP_COM_H__C6A5A3F8_DDC0_4E3B_A5B9_75BDD2555525__INCLUDED_)

⌨️ 快捷键说明

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