FtpServerDlg.h
资源名称:ftp_c_s.rar [点击查看]
上传用户:shjunxiao
上传日期:2022-01-25
资源大小:7105k
文件大小:2k
源码类别:
Ftp客户端
开发平台:
Visual C++
- // FtpServerDlg.h : header file
- //
- #if !defined(AFX_FTPSERVERDLG_H__66437C5E_99B2_4FAD_AAFD_E08B0DFD4849__INCLUDED_)
- #define AFX_FTPSERVERDLG_H__66437C5E_99B2_4FAD_AAFD_E08B0DFD4849__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CFtpServerDlg dialog
- class CFtpServerDlg : public CDialog
- {
- // Construction
- public:
- static DWORD WINAPI SubRecvProc(LPVOID lpParameter);// thread1 data
- static DWORD WINAPI RecvProc(LPVOID lpParameter);// thread2 data
- void CloseAllSocket();
- BOOL InitSocket();
- CFtpServerDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CFtpServerDlg)
- enum { IDD = IDD_FTPSERVER_DIALOG };
- CButton m_start;
- CString m_port;
- CString m_mulu;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFtpServerDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CFtpServerDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnStart();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CString mulu;
- SOCKET m_sock;
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FTPSERVERDLG_H__66437C5E_99B2_4FAD_AAFD_E08B0DFD4849__INCLUDED_)