登录
首页 » Visual C++ » filetransserver

filetransserver

于 2007-04-19 发布 文件大小:137KB
0 341
下载积分: 1 下载次数: 108

代码说明:

  务器端基于select I/O模型。为防止程序界面阻塞,有一个子线程用于不断接收socket并select其中的处理。客户端只有一个线程函数,不过其利用率很高,可用于远程目录交换,请求文件大小,创建若干线程来下载文件。文件传输有上传和下载,还有对等传输,这个项目中,传输文件具体指下载。 (side is based on the Treasury select I/O model. To prevent the program interface obstruction, a son threaded socket for receiving continuous and select which of treatment. Only one client thread function, but its high efficiency, long-distance directory can be used to exchange documents requested size, creating a number of threads to download files. Upload a file transfer and downloading, and the transmission of the project, specifically referring to transfer files downloaded.)

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

发表评论

0 个回复

  • client_udp
    网络通讯:UDP客户端的工程源代码,已经测试通过(Network Communication: UDP client' s project source code, has been tested)
    2010-10-14 12:32:21下载
    积分:1
  • POP3_EXAMPLE
    Pop3客户端接收信件的整个流程: 1。连接到pop3服务器(默认端口110) 2。发送用户名(user) 3。发送密码(pass) 4。查询当前邮箱状态(stat) 5。查询服务器上所有邮件UID列表(UIDL) 6。查询本地所有邮件的UID列表,从而罗列出新邮件列表(本地UID列表是POP3客户端记录在日志文件中的) 7。对所有新邮件查询其大小(LIST) 8。下载所有新邮件(RETR)利用List提供的邮件大小信息 9。如果有必要,对所有新邮件标志为删除(DELE) 10。结束对话(QUIT) 11。解析本地下载邮件。(Pop3 client receives the entire flow of letters: 1. Connect to the pop3 server (default port 110) 2. Send user name (user) 3. Send password (pass) 4. Query current mail status (stat) 5. Query server UID list of all messages (UIDL) 6. Query local UID list of all messages, which set out the new mailing list (local UID is a POP3 client list recorded in the log file) 7. For all new e-mail inquiries about their size (LIST) 8. Download all new messages (RETR) to use List of information provided by message size 9. If necessary, for all new signs for the delete message (DELE) 10. The end of the dialogue (QUIT) 11. Analysis of local download your mail.)
    2021-01-03 19:38:55下载
    积分: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
  • 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
  • Onvifshengzhe8688
    Onvif实例源码 VC6.0 C++开发 便于学习 Onvif开发入门 Onvif协议开发训练(Onvif instance source VC6.0 introduction to c++ development to facilitate learning Onvif Onvif protocol development training)
    2013-07-31 16:25:35下载
    积分:1
  • Web服务器和浏览器的设计
    说明:  网络编程中C++ Web服务器和浏览器的设计源代码,用于网络编程实验。(The design source code of C++ Web server and browser in network programming is used for network programming experiment.)
    2019-01-08 21:12:52下载
    积分:1
  • UDP
    仿照TCP协议的UDP封装,用ACK,和滑动窗口(Modeled on the TCP protocol UDP encapsulation, with ACK, and sliding window)
    2016-09-19 11:03:41下载
    积分:1
  • MY_QQ
    聊天界面,简易的聊天界面懂得更多,了解更多,沟通更多(Chat interface, a simple chat interface know more, learn more, communicate more)
    2013-07-17 22:34:50下载
    积分:1
  • protntyping
    实现基本的图书管理功能,并能实现可移植性,是本人学习其间的练习作品,值得借鉴,()
    2017-09-26 07:02:40下载
    积分:1
  • liaot
    Visual C++案例开发集锦第六章\聊天室服务器端开发的程序源码,值得一看!(Visual C++ case development highlights Chapter Chat server-side development of the program source code, worth a visit!)
    2011-08-13 16:09:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载