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

📄 ptpftp.h

📁 tcpudp通信源码 AppWizard uses "TODO:" to indicate parts of the source code you should add to or custom
💻 H
字号:
#if !defined(AFX_PTPFTP_H__1DD78343_DCFB_47AD_A46E_919D971A7E90__INCLUDED_)
#define AFX_PTPFTP_H__1DD78343_DCFB_47AD_A46E_919D971A7E90__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Ptpftp.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPtpftp dialog

class CPtpftp : public CDialog
{
// Construction
public:
	CString GetError(DWORD error);
	void Stop(CWinThread* pThread);
	void TranMsg(CSocket &recSocket,SOCKADDR_IN &client);
	int GetIpAddress(CString &IpAddress);
	void SaveFile(CSocket &recSo,SOCKADDR_IN &client);
	BOOL m_bServerStop;
	CString m_FileName;
	CString m_Type;
	CPtpftp(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CPtpftp)
	enum { IDD = IDD_PTPFTPDLG };
	CProgressCtrl	m_progress;
	CListBox	m_list;
	CIPAddressCtrl	m_ip2;
	CIPAddressCtrl	m_ip1;
	UINT	m_port1;
	UINT	m_port2;
	CString	m_sendmsg;
	int		m_WorkType;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPtpftp)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPtpftp)
	afx_msg void OnSendonly();
	afx_msg void OnSendprec();
	afx_msg void OnStartServer();
	afx_msg void OnSendmsg();
	afx_msg void OnSendfile();
	afx_msg void OnReconly();
	afx_msg void OnStop();
	afx_msg void OnStopServer();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};
  
    struct FILEINFO
	{
       int fileLength;
	   char fileName[100];
	
	};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PTPFTP_H__1DD78343_DCFB_47AD_A46E_919D971A7E90__INCLUDED_)

⌨️ 快捷键说明

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