xxxx18一60岁hd中国/日韩女同互慰一区二区/西西人体扒开双腿无遮挡/日韩欧美黄色一级片 - 色护士精品影院www

  • 大小: 7KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-11
  • 語言: 其他
  • 標簽: linux??c??ftp??源代碼??

資源簡介

該項目實現了在linux環境下的文件傳輸功能,能夠將客戶端的文件上傳給服務器,同時能夠將服務器的文件下載到客戶端,可以在客戶端查看更改雙方路徑及目錄,并且支持多任務。在項目中應用了TCP網絡編程,文件IO,多任務編程,進程間通信等相關知識,熟練綜合運用了linux應用層相關知識。

資源截圖

代碼片段和文件信息

//?Ftp.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“Ftp.h“
#include?“FtpDlg.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CFtpApp

BEGIN_MESSAGE_MAP(CFtpApp?CWinApp)
//{{AFX_MSG_MAP(CFtpApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CFtpApp?construction

CFtpApp::CFtpApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CFtpApp?object

CFtpApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CFtpApp?initialization

BOOL?CFtpApp::InitInstance()
{
if?(!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return?FALSE;
}

AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

CFtpDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}

//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????122935??2011-06-21?14:16??復件?Ftp\Debug\Ftp.exe

?????文件?????290820??2011-06-21?14:16??復件?Ftp\Debug\Ftp.ilk

?????文件??????16034??2011-06-05?13:48??復件?Ftp\Debug\Ftp.obj

?????文件????5564364??2011-06-05?12:02??復件?Ftp\Debug\Ftp.pch

?????文件?????459776??2011-06-21?14:16??復件?Ftp\Debug\Ftp.pdb

?????文件???????3368??2011-06-08?21:09??復件?Ftp\Debug\Ftp.res

?????文件??????72909??2011-06-21?14:16??復件?Ftp\Debug\FtpDlg.obj

?????文件?????106259??2011-06-05?12:02??復件?Ftp\Debug\StdAfx.obj

?????文件?????222208??2011-06-21?14:16??復件?Ftp\Debug\vc60.idb

?????文件?????389120??2011-06-21?14:16??復件?Ftp\Debug\vc60.pdb

?????文件??????36788??2011-06-08?21:09??復件?Ftp\Ftp.aps

?????文件???????1456??2011-06-21?14:15??復件?Ftp\Ftp.clw

?????文件???????2115??2011-06-05?11:42??復件?Ftp\Ftp.cpp

?????文件???????4105??2011-06-05?11:42??復件?Ftp\Ftp.dsp

?????文件????????514??2011-06-05?12:07??復件?Ftp\Ftp.dsw

?????文件???????1291??2011-06-05?11:42??復件?Ftp\Ftp.h

?????文件??????66560??2011-06-21?14:17??復件?Ftp\Ftp.ncb

?????文件??????54784??2011-06-21?14:17??復件?Ftp\Ftp.opt

?????文件???????1014??2011-06-21?14:16??復件?Ftp\Ftp.plg

?????文件???????6061??2011-06-08?21:09??復件?Ftp\Ftp.rc

?????文件??????15815??2011-06-21?14:15??復件?Ftp\FtpDlg.cpp

?????文件???????1855??2011-06-08?21:38??復件?Ftp\FtpDlg.h

?????文件???????3525??2011-06-05?11:42??復件?Ftp\ReadMe.txt

?????文件???????1398??2011-06-05?13:36??復件?Ftp\res\Ftp.ico

?????文件????????395??2011-06-05?11:42??復件?Ftp\res\Ftp.rc2

?????文件???????1232??2011-06-08?21:09??復件?Ftp\resource.h

?????文件????????205??2011-06-05?11:42??復件?Ftp\StdAfx.cpp

?????文件???????1102??2011-06-05?11:42??復件?Ftp\StdAfx.h

?????目錄??????????0??2011-06-21?14:16??復件?Ftp\Debug

?????目錄??????????0??2011-06-06?17:46??復件?Ftp\res

............此處省略4個文件信息

評論

共有 條評論