登录
首页 » Windows Socket编程 » send and receive news : you can set ports, baud rate, parity and other parameter...

send and receive news : you can set ports, baud rate, parity and other parameter...

于 2022-02-20 发布 文件大小:50.73 kB
0 231
下载积分: 2 下载次数: 1

代码说明:

通过设置发送并接收消息:可以设置端口,波特率,奇偶校验等参数.用TCP/IP实现客户/服务器模式.-send and receive news : you can set ports, baud rate, parity and other parameters. Using TCP/IP client/server model.

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

发表评论

0 个回复

  • 网络游戏程序 纸牌源程序
    网络游戏程序 纸牌源程序-network source poker games
    2022-08-08 02:49:21下载
    积分:1
  • 此示例演示如何使用知识产权辅助程序接口函数来操作反渗透…
    This sample demonstrates the use of IP Helper API functions to manipulate the routing table.
    2022-01-28 19:25:42下载
    积分:1
  • synscan端口扫描源代码
    vc6.0能够编译通过 能够扫描内网和外网IP的端口段       
    2022-04-15 23:56:43下载
    积分:1
  • 计算校验和 校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP...
    计算校验和 校验和算法描述:为保证网络上传输的数据的可靠性,在许多协议中都设置了校验和项,例如:IPv4、ICMPv4、IGMPV4、ICMPv6、UDP和TCP 等等。计算这些校验和的算法称为网际校验和算法,简单来说就是:把被校验的数据16位进行累加,然后取反码,若数据字节长度为奇数,则数据尾部补一个字节的0以凑成偶数。 由于从输入文件读入的数据不能直接满足计算校验和的条件,所以首先对从文件读入缓冲区的数据进行预处理,即读入缓冲区时忽略空格。由于累加是按16位进行的,所以每次从缓冲区中读出4个字符,并将字符转换成对应的16进制数字,如此依次累加,直至数据全部读完。 还有一种情况,即如果数据长度为奇数个字节,则需要判断,并补0累加。程序中利用的是缓冲区长度计数器i和当前读取到计数器j判断数据长度是否为奇数。即如果数据长度为偶数,则读完数据时当前读取到计数器j的值应与缓冲区长度i相等,而如果数据长度为奇数,则读完数据时,当前读取到计数器j>缓冲区长度i,此时需将缓冲区中剩余的两个字符读出,并补0,转换成相应16进制数以后参与累加。 当累加结束后,将累加和的16位以上数据位移下再进行一次累加,并对最后累加和取反即得所求校验和。 -calculated checksum checksum algorithm Description : To ensure the network transmission of data reliability, in many of the agreements are set up and calibration, for example : IPv4, ICMPv4, IGMPV4, ICMPv6. UDP and TCP so on. Calculating checksum algorithm called the Internet checksum algorithm, the simple answer is : as has been the calibration data for 16 cumulative, and then take the anti-code, if the data byte length of the odd, data will make up the tai
    2022-01-26 06:39:03下载
    积分:1
  • Synchronous machine model
    Synchronous machine model- Synchronous machine model
    2022-07-19 09:55:36下载
    积分:1
  • 获取远程机器名与Mac地址
    获取远程机器名与Mac地址- Gains the long-distance machine name and the Mac address
    2022-08-10 21:25:07下载
    积分:1
  • FLASH素材源码
    FLASH素材源码-卡通人物-口袋怪物?ㄍㄈ宋?口袋怪物?ㄍㄈ宋?口袋怪物?ㄍㄈ宋?口袋怪物卡通人物-口袋怪物-FLASH source material-cartoon characters-pocket monster cartoon c haracters-pocket monster cartoon c haracters-pocket monster cartoon c haracters-pocket monster cartoon characters-pocket monster
    2022-12-02 11:40:03下载
    积分:1
  • ASP初步――很好的ASP入门教程 通往网络编程的桥梁!
    ASP初步――很好的ASP入门教程 通往网络编程的桥梁!-ASP-- ASP good entry Network Programming Guide to the bridge!
    2022-03-22 00:23:21下载
    积分:1
  • 使用XML和.NET编写的天气查询系统,运行界面为网叶。
    使用XML和.NET编写的天气查询系统,运行界面为网叶。-The use of XML and. NET prepared weather Inquiry System, run interface for network leaf.
    2022-06-20 16:19:38下载
    积分:1
  • 无标度网络结构相对简单,实现算法与可视化并不困难。与其它语言相比,Matlab 语言具有丰富的数学 函数库,能够写出简约的源代码。对于非计算机专业的大学生来...
    无标度网络结构相对简单,实现算法与可视化并不困难。与其它语言相比,Matlab 语言具有丰富的数学 函数库,能够写出简约的源代码。对于非计算机专业的大学生来说,以此为基础,能够快速进入复杂网络前沿 研究课题,对其数学建模能力和科研能力的培养极为有益。-Scale-free network structure is relatively simple algorithm is not difficult and visualization. Compared with other languages, Matlab language with a rich library of mathematical functions, can be simple to write the source code. For non-computer science students is as a basis to quickly enter the complex network of cutting-edge research topics, their mathematical modeling and scientific research is extremely useful ability.
    2022-01-22 16:22:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载