📄 tcp.h
字号:
#if !defined(AFX_TCP_H__2DFAE790_B638_4670_9DE2_1FCC77228EAB__INCLUDED_)
#define AFX_TCP_H__2DFAE790_B638_4670_9DE2_1FCC77228EAB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TCP.h : header file
//
#include <afxdlgs.h>
#include "resource.h"
#include "ConfigGen.h"
/////////////////////////////////////////////////////////////////////////////
// TCP dialog
class TCP : public CPropertyPage
{
DECLARE_DYNCREATE(TCP)
// Construction
public:
TCP();
~TCP();
void InitDefaultTCPSettings();
void PopulateTCPSettings();
bool StoreTCPHeaderData(ConfigHeaderStruct *cfg_header);
bool LoadTCPHeaderData(ConfigHeaderStruct *cfg_header);
// Dialog Data
//{{AFX_DATA(TCP)
enum { IDD = IDD_PROPPAGE_TCP };
// NOTE - ClassWizard will add data members here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(TCP)
public:
virtual void OnCancel();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(TCP)
afx_msg void OnKillfocusTcpNoUdpConn();
afx_msg void OnKillfocusTcpNoTcpConn();
afx_msg void OnKillfocusTcpNoSocketConn();
afx_msg void OnKillfocusTcpNoListenConn();
afx_msg void OnKillfocusTcpMss();
afx_msg void OnKillfocusTcpWnd();
afx_msg void OnKillfocusArpTbsz();
afx_msg void OnChangeTcpNoUdpConn();
afx_msg void OnChangeTcpNoTcpConn();
afx_msg void OnChangeTcpNoSocketConn();
afx_msg void OnChangeTcpNoListenConn();
afx_msg void OnChangeTcpMss();
afx_msg void OnChangeTcpWnd();
afx_msg void OnChangeArpTbsz();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
int m_no_udp_conn;
int m_no_tcp_conn;
int m_no_sockets;
int m_no_listen_conn;
int m_tcp_mss;
int m_tcp_wndsz;
int m_arp_tbsz;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TCP_H__2DFAE790_B638_4670_9DE2_1FCC77228EAB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -