文件名称:点对点文件传输程序(传输文件夹内的内容)
文件大小:1.91MB
文件格式:RAR
更新时间:2012-03-24 08:20:59
客户端套接字
/当程序作为客户端 if(((CIPAddressCtrl*)GetDlgItem(IDC_IPADDRESS))->IsBlank()) { MessageBox("IP 地址不能为空", "错误", MB_ICONHAND); return ; } //创建客户端套接字 m_psockClient = new CClientSocket(this); if(!m_psockClient->Create()) { delete m_psockClient; m_psockClient = NULL; MessageBox(GetError(GetLastError()), _T("错误"), MB_ICONHAND); return ;
【文件预览】:
Zhangguimin_FileTransfers
----Zhangguimin_FileTransfers.ncb(97KB)
----StdAfx.cpp(227B)
----ListenSocket.h(1KB)
----Zhangguimin_FileTransfers.h(1KB)
----Zhangguimin_FileTransfers.dsw(575B)
----Zhangguimin_FileTransfersDlg.h(3KB)
----ClientSocket.cpp(2KB)
----Zhangguimin_FileTransfersDlg.cpp(23KB)
----Message.h(281B)
----Zhangguimin_FileTransfers.dsp(5KB)
----Message.cpp(740B)
----ClientSocket.h(2KB)
----Zhangguimin_FileTransfers.cpp(2KB)
----Debug()
--------Zhangguimin_FileTransfers.obj(16KB)
--------vc60.pdb(372KB)
--------Zhangguimin_FileTransfers.exe(132KB)
--------vc60.idb(233KB)
--------Message.obj(11KB)
--------ClientSocket.obj(16KB)
--------Zhangguimin_FileTransfers.res(4KB)
--------ListenSocket.obj(7KB)
--------Zhangguimin_FileTransfers.ilk(428KB)
--------StdAfx.obj(105KB)
--------Zhangguimin_FileTransfers.pch(5.31MB)
--------Zhangguimin_FileTransfers.pdb(473KB)
----ReadMe.txt(4KB)
----StdAfx.h(1KB)
----ListenSocket.cpp(983B)
----Resource.h(1KB)
----Zhangguimin_FileTransfers.rc(7KB)
----Zhangguimin_FileTransfers.opt(55KB)
----Zhangguimin_FileTransfers.aps(37KB)
----res()
--------Zhangguimin_FileTransfers.rc2(417B)
--------Zhangguimin_FileTransfers.ico(1KB)
----Zhangguimin_FileTransfers.clw(2KB)
----Zhangguimin_FileTransfers.plg(4KB)