sendudpDlg.h
资源名称:sendudp.rar [点击查看]
上传用户:lx6688
上传日期:2016-01-30
资源大小:46k
文件大小:2k
源码类别:
网络截获/分析
开发平台:
Visual C++
- // sendudpDlg.h : header file
- //
- #if !defined(AFX_SENDUDPDLG_H__686134C0_8360_4E14_8E94_872C45ABF37D__INCLUDED_)
- #define AFX_SENDUDPDLG_H__686134C0_8360_4E14_8E94_872C45ABF37D__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "winsock2.h"
- /////////////////////////////////////////////////////////////////////////////
- // CSendudpDlg dialog
- class CSendudpDlg : public CDialog
- {
- // Construction
- public:
- CSendudpDlg(CWnd* pParent = NULL); // standard constructor
- CString m_serverIP;
- bool isListen;
- // Dialog Data
- //{{AFX_DATA(CSendudpDlg)
- enum { IDD = IDD_SENDUDP_DIALOG };
- CEdit m_rcvTxt;
- CEdit m_data;
- CIPAddressCtrl m_IP;
- UINT m_portdest;
- UINT m_portsrc;
- BOOL m_hexSend;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CSendudpDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CSendudpDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnButton1();
- afx_msg void OnButton2();
- afx_msg void OnBtnClear();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_SENDUDPDLG_H__686134C0_8360_4E14_8E94_872C45ABF37D__INCLUDED_)