資源簡介
SOCKET TCP 文件傳輸 客戶端 服務器端 client svever 實現簡易文件傳輸功能

代碼片段和文件信息
//?Recv.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Recv.h“
#include?“RecvDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CRecvApp
BEGIN_MESSAGE_MAP(CRecvApp?CWinApp)
//{{AFX_MSG_MAP(CRecvApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CRecvApp?construction
CRecvApp::CRecvApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CRecvApp?object
CRecvApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CRecvApp?initialization
BOOL?CRecvApp::InitInstance()
{
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
CRecvDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2035??2005-01-11?10:31??Socket文件傳輸\Recv\Recv.cpp
?????文件???????4430??2005-01-18?10:01??Socket文件傳輸\Recv\Recv.dsp
?????文件???????1302??2005-01-11?10:31??Socket文件傳輸\Recv\Recv.h
?????文件???????5386??2005-01-19?17:14??Socket文件傳輸\Recv\Recv.rc
?????文件???????8661??2008-07-12?15:27??Socket文件傳輸\Recv\Recv.vcproj
?????文件???????8175??2005-01-19?17:15??Socket文件傳輸\Recv\RecvDlg.cpp
?????文件???????2438??2005-01-19?17:14??Socket文件傳輸\Recv\RecvDlg.h
?????文件???????1078??2005-01-11?10:31??Socket文件傳輸\Recv\res\Recv.ico
?????文件????????396??2005-01-11?10:31??Socket文件傳輸\Recv\res\Recv.rc2
?????文件????????958??2005-01-18?09:08??Socket文件傳輸\Recv\Resource.h
?????文件????????206??2005-01-11?10:31??Socket文件傳輸\Recv\StdAfx.cpp
?????文件???????1054??2005-01-11?10:31??Socket文件傳輸\Recv\StdAfx.h
?????文件???????7532??2005-01-13?18:02??Socket文件傳輸\Recv\SysUtils.cpp
?????文件????????828??2005-01-13?17:53??Socket文件傳輸\Recv\SysUtils.h
?????文件????????598??2005-01-18?09:43??Socket文件傳輸\Recv\Thread.cpp
?????文件????????443??2005-01-18?09:43??Socket文件傳輸\Recv\Thread.h
?????文件???????1078??2005-01-06?12:30??Socket文件傳輸\Send\res\Send.ico
?????文件????????396??2005-01-06?12:30??Socket文件傳輸\Send\res\Send.rc2
?????文件???????1372??2005-01-19?08:26??Socket文件傳輸\Send\Resource.h
?????文件??????22788??2008-07-12?14:50??Socket文件傳輸\Send\Send.aps
?????文件???????2035??2005-01-06?12:30??Socket文件傳輸\Send\Send.cpp
?????文件???????4378??2005-01-18?14:47??Socket文件傳輸\Send\Send.dsp
?????文件???????1302??2005-01-06?12:30??Socket文件傳輸\Send\Send.h
?????文件???????6086??2005-01-19?08:29??Socket文件傳輸\Send\Send.rc
?????文件???????8199??2008-07-12?15:29??Socket文件傳輸\Send\Send.vcproj
?????文件???????8488??2005-01-19?17:05??Socket文件傳輸\Send\SendDlg.cpp
?????文件???????2411??2005-01-19?17:04??Socket文件傳輸\Send\SendDlg.h
?????文件????????206??2005-01-06?12:30??Socket文件傳輸\Send\StdAfx.cpp
?????文件???????1054??2005-01-06?12:30??Socket文件傳輸\Send\StdAfx.h
?????文件????????598??2005-01-18?09:43??Socket文件傳輸\Send\Thread.cpp
............此處省略10個文件信息
- 上一篇:三星EMMC參考設計
- 下一篇:模糊聚類Fortran的源代碼
評論
共有 條評論