91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

使用對話框實現向指定的ip和端口發送文件,發送數據,獲取本機ip,多線程操作

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“Server.h“
#include?“ServerDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CServerApp

BEGIN_MESSAGE_MAP(CServerApp?CWinApp)
//{{AFX_MSG_MAP(CServerApp)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CServerApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CServerApp?object

CServerApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CServerApp?initialization

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

//?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.

CServerDlg?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;
}

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

?????文件???????1136??2010-09-17?15:25??Server\Server.clw

?????文件???????1951??2000-07-27?20:46??Server\Server.cpp

?????文件???????4141??2000-07-27?21:19??Server\Server.dsp

?????文件????????535??2000-07-27?20:47??Server\Server.dsw

?????文件???????1324??2000-07-27?20:46??Server\Server.h

?????文件??????91136??2010-09-17?15:25??Server\Server.ncb

?????文件????????663??2010-09-17?15:25??Server\Server.plg

?????文件????????208??2000-07-27?20:46??Server\StdAfx.cpp

?????文件???????1047??2000-07-27?20:46??Server\StdAfx.h

?????文件????????913??2010-09-17?11:25??Server\resource.h

?????文件???????2271??2010-09-17?11:28??Server\ServerDlg.h

?????文件???????6199??2010-09-17?12:15??Server\ServerDlg.cpp

?????文件???????1078??2000-07-27?20:46??Server\res\Server.ico

?????文件????????398??2000-07-27?20:46??Server\res\Server.rc2

?????文件???????8800??2010-09-17?12:20??Server\Release\Server.res

?????文件????7224632??2010-09-17?12:20??Server\Release\Server.pch

?????文件??????50176??2010-09-17?12:20??Server\Release\vc60.idb

?????文件????1539020??2010-09-17?12:20??Server\Release\StdAfx.sbr

?????文件????????726??2010-09-17?12:20??Server\Release\StdAfx.obj

?????文件???????2685??2010-09-17?12:20??Server\Release\Server.sbr

?????文件???????5703??2010-09-17?12:20??Server\Release\ServerDlg.sbr

?????文件??????23125??2010-09-17?12:20??Server\Release\ServerDlg.obj

?????文件???????8751??2010-09-17?12:20??Server\Release\Server.obj

?????文件?????151552??2010-09-17?12:20??Server\Release\Server.exe

?????文件????3695616??2010-09-01?17:00??Server\Debug\Server.bsc

?????文件???????2680??2010-09-17?15:25??Server\Debug\Server.res

?????文件?????197632??2010-09-17?15:25??Server\Debug\vc60.idb

?????文件????6953584??2010-09-17?12:20??Server\Debug\Server.pch

?????文件?????364544??2010-09-17?12:20??Server\Debug\vc60.pdb

?????文件????1383840??2010-09-17?12:20??Server\Debug\StdAfx.sbr

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

評論

共有 條評論