-
本文附带源代码还包括了一个使用CHttpSocket实现下载功能的例子工程.注意,所有的调用都是阻塞的,所以最好为一个下载任务创建一个线程,否则会导致界面无法响...
本文附带源代码还包括了一个使用CHttpSocket实现下载功能的例子工程.注意,所有的调用都是阻塞的,所以最好为一个下载任务创建一个线程,否则会导致界面无法响应用户输入. 程序运行界面如上图,显示了请求头,回应头以及下载进度.-fringe source code is also included use of a functional CHttpSocket download the example works. Attention, all calls are blocked, it"s best to download a mandate to create a thread, otherwise they will be unable to respond led interface user input. As running interface map shows that the first request in response to the first progress of the download.
- 2022-07-01 16:18:29下载
- 积分:1
-
vc under the socket programming, the program sub
vc下的socket编程,程序分客户端和服务器端希望对大家学习socket有帮助-vc under the socket programming, the program sub-client and server want to have to help everyone learn socket
- 2022-03-05 19:28:04下载
- 积分:1
-
很简单的程序,实现多client和server的通信。
很简单的程序,实现多client和server的通信。-very simple procedure, multi-client and server communication.
- 2022-11-17 20:40:03下载
- 积分:1
-
网络通讯实例子,可以更多的电脑通讯 简单使用
网络通讯实例子,可以更多的电脑通讯 简单使用-Examples of sub-network communication can be more simple to use computer communication
- 2022-04-11 01:24:12下载
- 积分:1
-
qt 编写的bt torrent下载工具,运行于qt4的环境,跨平台
qt 编写的bt torrent下载工具,运行于qt4的环境,跨平台-qt prepared bt torrent download tools, running on QT4 environment, cross-platform
- 2023-01-23 03:35:04下载
- 积分:1
-
TCP的客户服务器通信程序 一:程序运行过程 1、运行服务器程序,等待客户端发出请求 2、运行客户端程序,输入客户的IP地址,请求连接 3、若连接成功,服务器端...
TCP的客户服务器通信程序 一:程序运行过程 1、运行服务器程序,等待客户端发出请求 2、运行客户端程序,输入客户的IP地址,请求连接 3、若连接成功,服务器端显示客户的IP地址及端口号;客户端接收文件并保存在d:clientls.txt下,否则,显示错误信息。 二:程序实现原理 发送端:打开文件,逐一读取字符到缓冲区(缓冲区大小为1024),若文件大于1024,则成块发送;若小于,则直接发送。 接受端:与发送端同理。-TCP client-server communication program one : running a process, running the server and wait for the client to issue two requests, the client operating procedures, the importation of customer IP address, link request, if successful connection, the server-client shows the IP address and port number ; the client receives the document and preserve d : client ls.txt, otherwise an error message. 2 : Principle procedures transmitter : open the file, read each character to the buffer (buffer size for 1024), and if the document is greater than 1,024, then sent into pieces; If less, then sent directly. Receivers : Send-the same reason.
- 2022-06-30 17:04:28下载
- 积分:1
-
C:Documents and Settingsyyy桌面新建文件夹TCPsocket33.rarC:Documents and Settingsyyy桌面新建...
C:Documents and Settingsyyy桌面新建文件夹TCPsocket33.rarC:Documents and Settingsyyy桌面新建文件夹TCPsocket33.rar
- 2022-03-22 08:42:28下载
- 积分:1
-
面向连接的服务器流程中,必须设置服务器套接字为监听状态;而客户机则是主动连接。无连接客户机和服务器。无连接客户机和服务器在调用的函数方面没有区别,区别在于服务器...
面向连接的服务器流程中,必须设置服务器套接字为监听状态;而客户机则是主动连接。无连接客户机和服务器。无连接客户机和服务器在调用的函数方面没有区别,区别在于服务器一般先启动recvfrom等待客户机的数据。客户机和服务器的通信过程为客户向服务器发送数据,服务器收到数据后给予应答,通信结束。-connection-oriented server process, you must set up to monitor server socket state; While the client is active connector. Without connecting client and server. Without connecting client and server in a function called no distinction, the general difference is the server for first launching recvfrom client data. Client and server communication process for clients to send data to the server, the server data received responses and communication end.
- 2022-03-13 09:45:07下载
- 积分:1
-
简易SOCKET编程。供有需要的人们使用,谢谢合作
简易SOCKET编程。供有需要的人们使用,谢谢合作-Easy SOCKET programming. The needs of the people to use, thank cooperation
- 2022-10-19 11:40:02下载
- 积分:1
-
得到网络上的所有主机名称和IP地址
得到网络上的所有主机名称和IP地址- Obtains in the network all main engines name and the IP address
- 2022-02-14 21:35:06下载
- 积分:1