文件名称:cssends
介绍说明--下载内容均来自于网络,请自行研究使用
C/S结构的VC++数据传输(发消息)一例,文件传输基于vc++6.0点对点技术,面向连接,XP下调试通过,含详细注释,不过注释是英文的,适合自学。
编译时请同时编译客户端和服务端,两者先运行服务端,然后启动客户端并选择IP地址后点击连接,连通后,可在发送框输入文字信息,客户端可监听并接收这些信息,当然了,两者是互相监听的,从服务端也可以向客户端发消息。点对点的原理,网络数据连接的基本单元。-VC++ data transmission C/S structure (message) one case, a file transfer technology based on vc++ 6.0 point, connection-oriented, under XP through debugging, with detailed notes, but the notes are in English, suitable for self-study.
Please also compile compile the client and server, both of which run the server, and then click the link to start the client and the IP address, connectivity, you can input text message sent box, the client can monitor and receive information, of course, the two are listening to each other, can also be a message the server to the client. Point of principle, the basic unit of data network connection.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
cssends
.......\Client
.......\......\Client.aps
.......\......\Client.clw
.......\......\Client.cpp
.......\......\Client.dsp
.......\......\Client.dsw
.......\......\Client.h
.......\......\Client.rc
.......\......\ClientDlg.cpp
.......\......\ClientDlg.h
.......\......\ClientSocket.cpp
.......\......\ClientSocket.h
.......\......\ReadMe.txt
.......\......\res
.......\......\Resource.h
.......\......\res\Client.ico
.......\......\...\Client.rc2
.......\......\StdAfx.cpp
.......\......\StdAfx.h
.......\Server
.......\......\ClientSocket.cpp
.......\......\ClientSocket.h
.......\......\ReadMe.txt
.......\......\res
.......\......\Resource.h
.......\......\res\Server.ico
.......\......\...\Server.rc2
.......\......\Server.aps
.......\......\Server.clw
.......\......\Server.cpp
.......\......\Server.dsp
.......\......\Server.dsw
.......\......\Server.h
.......\......\Server.rc
.......\......\ServerDlg.cpp
.......\......\ServerDlg.h
.......\......\ServerSocket.cpp
.......\......\ServerSocket.h
.......\......\StdAfx.cpp
.......\......\StdAfx.h