-
UDP-based_Sliding_Window_Protocol
基于UDP的滑动窗口协议的设计与实现
UDP-based Sliding Window Protocol (UDP-based Sliding Window Protocol Design and Implementation of)
- 2009-11-25 11:08:41下载
- 积分:1
-
klps
这是一个对打开窗口的位置进行安排调整的程序.可以实现重叠或平铺等功能()
- 2018-04-29 12:05:48下载
- 积分:1
-
TRACERT
支持IPv4和IPv6的路由探测代码,可以用来开发网络探测工具(traceroute in IPv4 and IPv6 network)
- 2021-03-31 16:09:09下载
- 积分:1
-
VCNetworkhigh-levelprogramming
本书主要面向具有一定VC网络编程基础并希望学习较高层次编程技术的读者(The book has some major VC-oriented network programming base and hopes to learn higher-level programming technology readers)
- 2008-12-25 09:30:49下载
- 积分:1
-
recvfrom
windows网络编程recvfrom源码实例(windows network programming source code examples recvfrom)
- 2015-11-06 19:35:25下载
- 积分:1
-
ipmsg
IPmsg的源代码,用于研究其中所用到的协议和算法(IPmsg source file)
- 2012-04-08 14:55:39下载
- 积分:1
-
zppf
招聘评分系统,适合用在企业招聘,现在招聘中!(Recruitment scoring system, suitable for use in corporate recruitment, recruitment now!)
- 2009-01-14 14:49:34下载
- 积分:1
-
netfileexedemo
说明: 网络文件系统,十分好的文件传输代码,非常适合初学者(Network file system, file transfer is very good code, very suitable for beginners)
- 2011-03-25 00:47:09下载
- 积分:1
-
socket
vc++ 下的socket收发例程,tcp和udp例程(socket vc++)
- 2013-11-03 23:06:48下载
- 积分: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