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

📄 netserverdlg.h

📁 组播发送测试网络程序,服务器端
💻 H
字号:
// NetServerDlg.h : header file
//

#if !defined(AFX_NETSERVERDLG_H__3F78E233_A83A_49BA_8140_A018F72C93D0__INCLUDED_)
#define AFX_NETSERVERDLG_H__3F78E233_A83A_49BA_8140_A018F72C93D0__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CNetServerDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CNetServerDlg)
	enum { IDD = IDD_NETSERVER_DIALOG };
	CComboBox	m_IPLIST;
	CComboBox	m_COMTTL;
	CComboBox	m_Comb2;
	CString	m_strAdd;
	DWORD	m_dwPort;
	DWORD	m_dwPackageSize;
	CString	m_strContent;
	int		m_nSocketType;
	BOOL	m_nISAddMember;
	BOOL	m_bIsLoopBack;
	int		m_nSndBuff;
	BOOL	m_bPortChanged;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CNetServerDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CNetServerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSetbitrate();
	afx_msg void OnStart();
	virtual void OnCancel();
	afx_msg void OnStop();
	afx_msg void OnSelchangeCombo2();
	afx_msg void OnSetpackagesize();
	afx_msg void OnLoadvalue();
	afx_msg void OnClosesocket();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void CheckStatus();
	 void  Init();
	void FillValue();
	void GetHostAddrLst();
	void UpdateInfo(WPARAM wParam, LPARAM lParam);
	CSendStream m_Stream;
	void InitPara();
    char m_strIpArray[16][32]; 

};

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

#endif // !defined(AFX_NETSERVERDLG_H__3F78E233_A83A_49BA_8140_A018F72C93D0__INCLUDED_)

⌨️ 快捷键说明

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