资源简介

基于cs模式下文件传输,代码可视化良好,带有进度条。操作简单

资源截图

代码片段和文件信息

// ClientSock.cpp : implementation file
//

#include “stdafx.h“
#include “SendFileClient.h“
#include “ClientSock.h“
#include “SendFileClientDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CClientSock

CClientSock::CClientSock()
{
}

CClientSock::~CClientSock()
{
}


// Do not edit the following lines which are needed by ClassWizard.
#if 0
BEGIN_MESSAGE_MAP(CClientSock CSocket)
//{{AFX_MSG_MAP(CClientSock)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
#endif // 0

/////////////////////////////////////////////////////////////////////////////
// CClientSock member functions

void CClientSock::SetDialog(CSendFileClientDlg *pDlg)
{
m_pDlg = pDlg;
}

void CClientSock::OnReceive(int nErrorCode) 
{
m_pDlg->OnReceive(*this);
CSocket::OnReceive(nErrorCode);
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        941  2009-05-12 08:50  SendFileClient\ClientSock.cpp

     文件       1293  2009-05-12 08:54  SendFileClient\ClientSock.h

     文件       7100  2010-05-15 14:23  SendFileClient\Debug\ClientSock.obj

     文件          0  2010-05-15 14:23  SendFileClient\Debug\ClientSock.sbr

     文件    3163136  2010-05-15 14:23  SendFileClient\Debug\SendFileClient.bsc

     文件     118862  2010-05-15 14:23  SendFileClient\Debug\SendFileClient.exe

     文件     245332  2010-05-15 14:23  SendFileClient\Debug\SendFileClient.ilk

     文件      15557  2010-05-15 14:23  SendFileClient\Debug\SendFileClient.obj

     文件    6875632  2010-05-15 14:22  SendFileClient\Debug\SendFileClient.pch

     文件     304128  2010-05-15 14:23  SendFileClient\Debug\SendFileClient.pdb

     文件       2944  2010-05-15 14:22  SendFileClient\Debug\SendFileClient.res

     文件          0  2010-05-15 14:23  SendFileClient\Debug\SendFileClient.sbr

     文件      49328  2010-05-15 14:22  SendFileClient\Debug\SendFileClientDlg.obj

     文件          0  2010-05-15 14:23  SendFileClient\Debug\SendFileClientDlg.sbr

     文件     105607  2010-05-15 14:22  SendFileClient\Debug\StdAfx.obj

     文件    1371781  2010-05-15 14:22  SendFileClient\Debug\StdAfx.sbr

     文件     205824  2010-05-15 14:23  SendFileClient\Debug\vc60.idb

     文件     364544  2010-05-15 14:22  SendFileClient\Debug\vc60.pdb

     文件       3723  2009-05-11 16:59  SendFileClient\ReadMe.txt

     文件       1078  2009-05-11 16:59  SendFileClient\res\SendFileClient.ico

     文件        406  2009-05-11 16:59  SendFileClient\res\SendFileClient.rc2

     文件        922  2009-05-12 08:42  SendFileClient\resource.h

     文件      21412  2010-05-15 14:22  SendFileClient\SendFileClient.aps

     文件       1658  2010-05-15 14:28  SendFileClient\SendFileClient.clw

     文件       2230  2009-05-12 16:33  SendFileClient\SendFileClient.cpp

     文件       4439  2009-05-12 08:57  SendFileClient\SendFileClient.dsp

     文件        553  2009-05-11 16:59  SendFileClient\SendFileClient.dsw

     文件       1412  2009-05-11 16:59  SendFileClient\SendFileClient.h

     文件      50176  2010-05-15 14:28  SendFileClient\SendFileClient.ncb

     文件      54784  2010-05-15 14:28  SendFileClient\SendFileClient.opt

............此处省略46个文件信息

评论

共有 条评论