登录
首页 » Visual C++ » radmin21

radmin21

于 2008-10-20 发布 文件大小:1348KB
0 408
下载积分: 1 下载次数: 0

代码说明:

说明:  务器端基于select I/O模型。为防止程序界面阻塞,有一个子线程用于不断接收socket并select其中的处理。客户端只有一个线程函数,不过其利用率很高,可用于远程目录交换,请求文件大小,创建若干线程来下载文件。文件传输有上传和下载,还有对等传输,这个项目中,传输文件具体指下载。(Client server based on select I/O model. Programming interfaces in order to prevent obstruction, there is a sub-thread for receiving socket and select which treatment. There is only one client thread function, but its utilization very high, can be used for remote directory exchange, request the file size, create a number of threads to download the file. File transfer are uploading and downloading, as well as peer-to-peer transmission, this project, the specific means to transfer files to download.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Zeus
    网络内容过滤系统,使用中间层驱动过滤IP,LSP过滤URL和关键字!(Text content, url, URL, ip filter voice prompts can be issued according to the text, and fast alarm 3 software set certain security measures to protect and prevent tampering and unauthorized access 4. Through illegal information characteristics to upgrade the feature library.)
    2012-08-10 10:23:48下载
    积分:1
  • MFC-ATL-SDK-Socket
    MFC、ATL、SDK、SOCKET 等概念的辨析,详细解读(The Concept of MFC, ATL, SOCKET, detailed interpretation)
    2013-04-09 13:26:24下载
    积分:1
  • ZXPortMap
    ZXPortMap 端口映射源代码 一个很好的端口映射工具(ZXPortMap port mapping source code for a good port mapping tool)
    2013-09-12 13:13:04下载
    积分:1
  • times
    自动计算上网的时间,下载看了你就知道是什么东西了,反正这在也没法给你说请楚.(Automatic calculation of time online, download saw you know what, and anyway it would not be able to tell you please Chu.)
    2007-12-13 11:59:51下载
    积分:1
  • QLocalSocketDemo
    实现了两个客户机程序与服务器程序间的进程通信(本机)。客户机与服务器间的通信是双向的,采用QLocalServer与QLocalSocket实现。(The realization of the two procedures and the client server inter-process communication (local). Client and server communication is a two-way, using QLocalServer with QLocalSocket achieve.)
    2020-12-29 17:09:00下载
    积分:1
  • socket_src
    Socket编程指南及示例程序 Socket编程指南及示例程序(Socket Programming Guide and sample programs Socket Programming Guide and sample programs)
    2008-08-10 15:51:09下载
    积分:1
  • SPEI
    SPEI计算SPEI的R语言版与可执行版(含下载网址).rar(SPEI calculated SPEI R-language version of the executable version (with download link). Rar)
    2020-10-17 14:37:27下载
    积分:1
  • hnbzcj9
    很好的源程序代码,具有很好的学习价值,可以下载使用(Good source code, has the very good learning value, can be used to download)
    2017-03-28 07:16:22下载
    积分: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
  • Client-dotnet
    一个用于客户端和服务器端的客户端的简单程序,C#(one for the client and the server-client simple procedure, C#)
    2013-09-03 12:09:29下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载