资源简介
c++实现局域网文件传送基于socket含客户端和服务端
代码片段和文件信息
// Client.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Client.h“
#include “ClientDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CClientApp
BEGIN_MESSAGE_MAP(CClientApp CWinApp)
//{{AFX_MSG_MAP(CClientApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CClientApp construction
CClientApp::CClientApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CClientApp object
CClientApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CClientApp initialization
BOOL CClientApp::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.
CClientDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 676 2012-11-26 15:15 Server\Server.clw
文件 3579 2000-07-27 20:46 Server\ReadMe.txt
文件 535 2000-07-27 20:47 Server\Server.dsw
文件 1324 2000-07-27 20:46 Server\Server.h
文件 1951 2000-07-27 20:46 Server\Server.cpp
文件 2056 2000-08-01 13:32 Server\ServerDlg.h
文件 4025 2000-08-01 14:22 Server\ServerDlg.cpp
文件 1047 2000-07-27 20:46 Server\StdAfx.h
文件 208 2000-07-27 20:46 Server\StdAfx.cpp
文件 398 2000-07-27 20:46 Server\res\Server.rc2
文件 1078 2000-07-27 20:46 Server\res\Server.ico
文件 591 2000-08-01 14:19 Server\resource.h
文件 4638 2000-08-01 14:19 Server\Server.rc
文件 4141 2000-07-27 21:19 Server\Server.dsp
文件 41984 2012-11-26 15:17 Server\Server.ncb
文件 2220 2012-11-26 15:16 Server\Debug\Server.res
文件 214016 2012-11-26 15:16 Server\Debug\vc60.idb
文件 6942492 2012-11-26 15:16 Server\Debug\Server.pch
文件 364544 2012-11-26 15:16 Server\Debug\vc60.pdb
文件 1393190 2012-11-26 15:16 Server\Debug\StdAfx.sbr
文件 106970 2012-11-26 15:16 Server\Debug\StdAfx.obj
文件 2642 2012-11-26 15:16 Server\Debug\Server.sbr
文件 3947 2012-11-26 15:16 Server\Debug\ServerDlg.sbr
文件 22996 2012-11-26 15:16 Server\Debug\ServerDlg.obj
文件 13374 2012-11-26 15:16 Server\Debug\Server.obj
文件 196064 2012-11-26 15:16 Server\Debug\Server.ilk
文件 106593 2012-11-26 15:16 Server\Debug\Server.exe
文件 279552 2012-11-26 15:16 Server\Debug\Server.pdb
文件 20356 2012-11-26 15:15 Server\Server.aps
文件 3453 2012-11-26 15:16 Server\Server.plg
............此处省略63个文件信息
- 上一篇:C++ Google地图API源码
- 下一篇:matlab说话人识别
相关资源
- C++中头文件与源文件的作用详解
- C++多线程网络编程Socket
- VC++ 多线程文件读写操作
- 利用C++哈希表的方法实现电话号码查
- 移木块游戏,可以自编自玩,vc6.0编写
- C++纯文字DOS超小RPG游戏
- VC++MFC小游戏实例教程(实例)+MFC类库
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- Em算法(使用C++编写)
- libstdc++-4.4.7-4.el6.i686.rpm
- VC++实现CMD命令执行与获得返回信息
- 白话C++(全)
- C++标准库第1、2
- 大数类c++大数类
- C++语言编写串口调试助手
- c++素数筛选法
- C++ mqtt 用法
- 商品库存管理系统 C++ MFC
- c++ 多功能计算器
- C++17 In Detail
- 嵌入式QtC++编程课件
- 颜色识别形状识别STM103嵌入式代码
- c++ 邮件多附件群发
- c++ 透明代理(hookproxy)
- mfc 调用redis
- socket客户端.c
- socket服务端.c
- FTP客户端源码(c++)
- socket tcp应用
评论
共有 条评论