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

📄 ceudpdlg.h

📁 WINCE EVC UDP的使用
💻 H
字号:
// CEUDPDlg.h : header file
//

#if !defined(AFX_CEUDPDLG_H__49DD12E0_B1F7_4322_A3E2_4A1BD49095E9__INCLUDED_)
#define AFX_CEUDPDLG_H__49DD12E0_B1F7_4322_A3E2_4A1BD49095E9__INCLUDED_

#include "UDP_CE.h"	// Added by ClassView
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

/////////////////////////////////////////////////////////////////////////////
// CCEUDPDlg dialog

class CCEUDPDlg : public CDialog
{
// Construction
public:
	void OnUdpCERecv2(CWnd *pWnd, char *buf, int nLen, sockaddr *addr);
	void show(CWnd *pWnd,int len);
	void OnUdpCEError( CWnd *pWnd,int code);
	void OnUdpCERecv(CWnd *pWnd, char *buf, int nLen, sockaddr *addr);
	CCEUDPDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CCEUDPDlg)
	enum { IDD = IDD_CEUDP_DIALOG };
	CString	m_RemoteHost;
	int		m_RemotePort;
	int		m_LocalPort;
	int		m_int;
	CString	m_str;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCEUDPDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnopen();
	afx_msg void OnBtnclose();
	afx_msg void OnBtnsend();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	UDP_CE m_CEUdp;
};

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

#endif // !defined(AFX_CEUDPDLG_H__49DD12E0_B1F7_4322_A3E2_4A1BD49095E9__INCLUDED_)

⌨️ 快捷键说明

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