📄 net_040421205_clientdlg.h
字号:
// NET_040421205_ClientDlg.h : header file
//
#if !defined(AFX_NET_040421205_CLIENTDLG_H__FBE2D14C_D63E_4EC7_84CA_C3D408C92193__INCLUDED_)
#define AFX_NET_040421205_CLIENTDLG_H__FBE2D14C_D63E_4EC7_84CA_C3D408C92193__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CNET_040421205_ClientDlg dialog
class CNET_040421205_ClientDlg : public CDialog
{
// Construction
public:
CNET_040421205_ClientDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CNET_040421205_ClientDlg)
enum { IDD = IDD_NET_040421205_CLIENT_DIALOG };
CIPAddressCtrl m_ServerIP;
CString m_ServerTime;
CString m_Link;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CNET_040421205_ClientDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CNET_040421205_ClientDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnStartServer();
afx_msg void OnStopServer();
afx_msg void OnFieldchangedIpaddress1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnGetServerTime();
afx_msg void OnSetTime();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void OnTimer(UINT nIDEvent);
DWORD ip;
struct sockaddr_in serv;
SOCKET sock;
SYSTEMTIME systemtime;
int conn;
//int count;
//int conn;
//int enableconn;
};
UINT thread(LPVOID);
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_NET_040421205_CLIENTDLG_H__FBE2D14C_D63E_4EC7_84CA_C3D408C92193__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -