登录
首页 » 套接字网络编程 » udp编程 实现客户端与服务器通信

udp编程 实现客户端与服务器通信

于 2022-01-23 发布 文件大小:13.57 kB
0 211
下载积分: 2 下载次数: 1

代码说明:

  基于UDP通信模拟Go-Back N ARQ工作过程。UDP的客户端相当于ARQ的发送端,UDP的服务端相当于接收端。 需要模拟正常通信,发端数据出错、反向数据帧出错和反向数据帧过长导致确认超时三种类型的发端重传。   当发送窗口和接收窗口的大小都等于 1时,就是停止等待协议。 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报

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

发表评论

0 个回复

  • 返回当前访客的人数,对同一IP地址不累计
    返回当前访客的人数,对同一IP地址不累计-returns the current number of visitors to the same IP address has not
    2022-06-01 10:12:52下载
    积分:1
  • 获得本机IP地址的例子程序源码.
    获得本机IP地址的例子程序源码.- Obtains this machine IP address the example procedure source code
    2022-10-10 02:55:02下载
    积分:1
  • 2022-08-16 17:52:28下载
    积分:1
  • 基于TCP/IP协议的文件上传服务器端和客户端,其中服务器端有sqlsever2000数据库表,用ado连接,使用时要参照代码稍微修改一下IP地址,建一个数据库...
    基于TCP/IP协议的文件上传服务器端和客户端,其中服务器端有sqlsever2000数据库表,用ado连接,使用时要参照代码稍微修改一下IP地址,建一个数据库和表-Based on TCP/IP protocol for file upload server-side and client-side, where there are sqlsever2000 server database table, using ado connection, when used to refer to the code slightly changed a bit IP addresses, building a database and table
    2022-07-25 23:19:32下载
    积分:1
  • 该程序获得网页的详细信息
    该程序获得网页的详细信息-the procedure for obtaining detailed information website
    2022-03-16 05:02:06下载
    积分:1
  • 一个同学用VB编写的局域网通讯程序,包括传输文件和聊天,已经调试通过。...
    一个同学用VB编写的局域网通讯程序,包括传输文件和聊天,已经调试通过。-a classmate with VB prepared LAN communications procedures, including file transfer and chat, through debugging.
    2022-01-27 10:54:48下载
    积分:1
  • completed an example of the server and client simple oral communication process....
    该实例完成一个服务器端和客户端简单的会话通信过程.要求主机上安装TCP/IP协议,并设定IP.服务器端和客户端使用同一台主机的不同端口号,服务器端使用的端口号为2000,客户端使用的端口号为3000. 服务器端程序先运行,首先初始化Winsock,然后创建套接字,在2000端口上进行绑定,接着在2000端口进行侦听,并进入等待状态.客户端后运行,同样首先初始化winsock,然后创建套接字,接着尝试和服务器端的连接.连接一旦建立,就可以在服务器端和客户端之间进行通信.客户端提示输入一个数字,比如输入50,那么客户端会从"data0"到"data49"发送50个字符串,输入0退出.-completed an example of the server and client simple oral communication process. Asked on the mainframe installed TCP/IP protocol and set the IP. Servers and clients using the same host of different ports, the use of the server port to 2000, clients use the port number as 3000. server operating procedures first, the first initialization Winsock, and then create socket, in 2000 ports on bonding, then the 2000 port for the interception, and entered the wait state. client after running the same protocols of the first initialization, and then create socket, and then try to server connections. connecting once established, can the server and client communications between. the client suggested the import
    2022-01-26 06:53:43下载
    积分:1
  • 用在局域网中完成机子之间的数据传递,文件传输,这是一个非常标准的例子,给初学者参考最好不过啦!...
    用在局域网中完成机子之间的数据传递,文件传输,这是一个非常标准的例子,给初学者参考最好不过啦!-LAN used in the completion of data transfer between the machine, file transfer, this is a very standard example, to the best beginners reference啦!
    2023-01-06 09:40:03下载
    积分:1
  • RUDP:简单可靠的UDP。
    这是简单可靠的UDP项目(“RUDP”) 该项目由SourceForge.net托管。项目组将其描述为: 面向对象实现了可靠,有序,交通运输在UDP基础上标题为“可靠的UDP”以博瓦,Krivoruchka,和思科系统(1999)互联网草案协议。
    2022-01-28 14:17:36下载
    积分:1
  • put JavaMail packaged into simple Sendmail
    把JavaMail包装成简单的Sendmail-put JavaMail packaged into simple Sendmail
    2022-05-23 02:21:58下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载