-
GetHostNameIP
一个有关获取主机名和IP地址的MFC程序,对于初学者来说很有帮助(For information about obtaining a host name and IP address of the MFC, very helpful for beginners)
- 2013-08-22 10:58:23下载
- 积分:1
-
kdcxcs2
快递发送单查询通信, 利用了socket(Courier to send single query communication using a socket)
- 2013-01-04 19:39:10下载
- 积分:1
-
MyPing
网络延迟测试工具。测试出网络速度带宽,大小(
Network latency test)
- 2016-05-28 11:02:21下载
- 积分:1
-
dowloader
利用VB6开发的下载程序,支持断点续传.(Developed using VB6 download programs, support for HTTP.)
- 2010-01-22 19:37:35下载
- 积分:1
-
SendFileClient
VC++实现类似于QQ文件传输功能的文件发送与接收程序示例,分为服务端和客户端,客户端首次接收数据,将判断文件包大小,数据包中一定包含完整的数据包结构信息,数据不一定完整;读取数据包的大小,包含数据包结构大小和数据大小,之前接收的数据与现在接收的数据能够构成至少一个完整的数据包,文件接收完毕则设置结束标记,若终止的连接,则弹出窗口告诉用户,对方终止了文件传送。
服务端程序是比较简单的,基本是复制文件数据、判断文件是否传递成功、等待对方收受发送任务或取消发送任务,分包继续发送文件等功能(VC++ implementation is similar to QQ file transfer capabilities to send and receive files program examples, divided into server and client, the client receives the first data packet to determine the file size, the packet must contain the complete information packet structure, the data is not must complete reading packet size, including the size and structure of the data packet size, and previously received data received data can now constitute at least one complete packet, the file has been received then set the mark, if the connection is terminated, the pop-up window telling the user, the other party to terminate the file transfer.
Server program is relatively simple, basically copying the file data, to determine whether the file transfer is successful, waiting for the other to accept or cancel the sending task sends tasks, subcontractors continue to send files and other functions
)
- 2014-06-03 13:50:03下载
- 积分:1
-
client-server
多协议文件传输c/s网络应用设计与实现,程序用 TCP/UDP 两个协议模拟多协议服务器。首先服务器端要将两种协议的套接字创建好,并且监听 TCP 端口的连接。必要时使用select函数来进行多连接处理和非阻塞处理。而客户端直接可以按照发送的地址和端口号来进行通讯。
首先要运行服务器端,服务器会监听 TCP 端口。然后运行客户端,根据事先设定好的 IP和端口,就可以进行连接传输数据了。
程序实现的关键步骤:
以TCP协议为例
服务器端:
1.创建套接字;2.绑定端口;3.进入无穷的循环;4.接收请求;5.处理请求;6.应答。
客户端:
1.找到服务器的IP地址和协议的端口号;2.创建套接字;3.确定连接需要任意的,没有使用的端口号允许TCP去选择一个;4.将套接字和服务器连接;5.使用应用层协议和服务器交互;6.关闭连接。
(Multi-protocol file transfer c/s network application design and implementation of programs simulate multi-protocol server with TCP/UDP both protocols. First socket server to create a good two protocols, TCP port and listens for connections. If necessary, use the function to handle multiple connections and non-blocking treatment. And the client can follow directly address and port number to communicate.
First run on the server side, the server listens on TCP port. Then run the client, according to pre-configured IP and port, you can connect the data transmission.
The key step program implementation:
In TCP protocol as an example
Service-Terminal:
1. Create a socket 2 bound port 3 enter an infinite loop 4. receiving a request 5. processing requests 6 response.
Clients:
1. Locate the server s IP address and protocol port number 2 creates a socket 3 connections need to determine arbitrary, unused port allows TCP to choose a 4 and the socket server connections 5 using appli)
- 2016-07-11 10:19:07下载
- 积分:1
-
UDPinstance
一个VC++写的基于UDP的通信程序实例(VC++ to write a UDP-based communication program example)
- 2010-05-13 13:32:53下载
- 积分:1
-
TCPIPclient
基于MFC的TCP/IP socket编程,一个客户端程序,适合初学者学习,开发平台vs2015(TCP/IP SOCKRT programing based on MFC,A client program ,very good for first learner
the develop platform is vs2015)
- 2016-09-23 13:01:14下载
- 积分:1
-
WinSocketAPI
使用Winsocket API实现的网络通信功能,分客户端和服务器端。(Winsocket API to achieve the use of the network communication function, sub-client and server.)
- 2009-05-19 12:30:43下载
- 积分:1
-
systemfocusdialog
如果你开发过Windows NT系统上的网络软件,肯定碰到过让用户选择要求连接的或登陆的计算机或者域名的情况。这种情况下肯定用过外壳API函数,像SHGetSpecialFolderLocation 和 SHBrowseForFolder,并显示标准的资源管理器对话框(If you develop Windows NT system over the network software certainly encountered allows users to connect selecting the landing or the computer or domain name situation. Under these circumstances certainly used shell API function, and as SHGetSpecialFolderLocation SHBrowseForFolder and display standard resource management for dialog)
- 2004-09-22 23:52:04下载
- 积分:1