📄 serpentgbndlg.h
字号:
// SerpentGBNDlg.h : header file
//
#if !defined(AFX_SERPENTGBNDLG_H__5C736B13_7527_4E7C_9956_6F682EC235A1__INCLUDED_)
#define AFX_SERPENTGBNDLG_H__5C736B13_7527_4E7C_9956_6F682EC235A1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CSerpentGBNDlg dialog
class CSerpentGBNDlg : public CDialog
{
// Construction
public:
CSerpentGBNDlg(CWnd* pParent = NULL); // standard constructor
void OnClose();
void OnReceive();
void OnAccept();
int GetLocalHostInfo(CString &strHostName, CString &strIPAddress);
static void CALLBACK ClientFunc(LPVOID lParam);
static void CALLBACK ServerFunc(LPVOID lParam);
static void CALLBACK responseFunc(LPVOID lParam);
static void CALLBACK sendFunc(LPVOID pParam);
void OnTimer(UINT nIDEvent);
public:
CString strDisp;
UINT frameCount;
UINT currentSize;
unsigned long cipherTo[50];
unsigned long cipherStore[50];
CFile fileDes, fileSrc;
// Dialog Data
//{{AFX_DATA(CSerpentGBNDlg)
enum { IDD = IDD_SERPENTGBN_DIALOG };
CIPAddressCtrl m_IP;
CListBox m_Disp;
UINT m_Port;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSerpentGBNDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CSerpentGBNDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnRadioServer();
afx_msg void OnRadioClient();
afx_msg void OnMakeKey();
afx_msg void Onjiami();
afx_msg void Onjiemi();
afx_msg void OnSelectEFile();
afx_msg void OnEncrypt();
afx_msg void OnSelectDFile();
afx_msg void OnDecrypt();
afx_msg void OnBegin();
afx_msg void OnDisconnect();
afx_msg void OnSend();
afx_msg void OnRcv();
afx_msg void Onintroduction();
afx_msg void OnSendFile();
afx_msg void OnRecvFile();
afx_msg void OnfileStore();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
SOCKET m_sockSrv;
SOCKET m_sockClient;
SOCKET m_sockResponse;
SOCKET m_sockSend;
SOCKET m_sockConn;
SOCKET m_sockConn1;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SERPENTGBNDLG_H__5C736B13_7527_4E7C_9956_6F682EC235A1__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -