登录
首页 » 套接字网络编程 » 简单的socket通信

简单的socket通信

于 2023-06-05 发布 文件大小:11.59 kB
0 812
下载积分: 2 下载次数: 1

代码说明:

流式套接字(SOCK_STREAM),数据报套接字(SOCK_DGRAM)及原始套接字。1.流式套接字提供面向连接、可靠的数据传输服务,数据按字节流、按顺序收发,保证在传输过程中无丢失、无冗余。TCP协议支持该套接字。2.数据报套接字,提供面向无连接的服务,数据收发无序,不能保证数据的准确到达。UDP协议支持该套接字。3.原始套接字原始套接字主要用于一些协议的开发,可以进行比较底层的操作。它功能强大,但是没有上面介绍的两种套接字使用方便,一般的程序也涉及不到原始套接字。

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

发表评论

0 个回复

  • 针对无线传感节点能量有限的特点本文结合协议的分簇机制和协议的多跳机制引入...
    针对无线传感网络节点能量有限的特点本文结合协议的分簇机制和协议的多跳机制引入网-For wireless sensor network node with limited energy of the characteristics of this paper clustering protocol mechanisms and protocol mechanisms cited multi-hop network
    2022-08-13 19:09:31下载
    积分:1
  • 这是一个信息查询系统,能实现添加,查询(精确查询、模糊查询),浏览全部信息,无密码...
    这是一个网络信息查询系统,能实现添加,查询(精确查询、模糊查询),浏览全部信息,无密码-This is a network information inquiry system, able to add, inquiries (query, fuzzy inquiries), View all the information, no password
    2022-01-20 23:11:13下载
    积分:1
  • multicast network testing procedures, the client
    组播发送测试网络程序,客户端-multicast network testing procedures, the client
    2022-04-08 11:33:15下载
    积分:1
  • win socket Guide comprehensively expounded socket applications, programming in a...
    win socket教程,全面阐述socket应用、编程的方方面面。-win socket Guide comprehensively expounded socket applications, programming in all its aspects.
    2022-02-20 12:18:36下载
    积分:1
  • 聊天室的实现
    这个代码比较完整,而且已经可以实现相应的功能。使用者可以根据自身的需要修改。基本架构已经完成,说实话我也不知道怎么去描述它 ,等到你们自己看的时候就会知道这个程序的优良的。
    2022-03-11 19:20:07下载
    积分:1
  • listen to what are they talking,窃听源码
    listen to what are they talking,窃听源码-listen to what are they talking, eavesdropping source
    2023-07-09 09:05:03下载
    积分:1
  • personal Qiuzhiwang source code
    个人求职网源代码-personal Qiuzhiwang source code
    2023-09-09 05:20:03下载
    积分:1
  • 是关于WEB方面的知识
    是关于WEB编程方面的知识-programming on the Web of knowledge
    2022-02-01 15:09:54下载
    积分:1
  • 站CA认证源代码
    网站CA认证源代码-website CA source code
    2022-07-27 03:18:08下载
    积分:1
  • / *
    /* Here s a small IPv4 example: it asks for a portbase and a destination and starts sending packets to that destination. 这个IPv4版的例子:它要求portbase(本地端口)与destination (目的端口)然后发送消息 同时还监听消息。 例子测试一: 启动一个运行实例,本地地址与目标地址用同一个端口8888 例子测试二: 启动两个运行实例,本地地址与目标地址用不同的端口(它要求是偶数端口号) 两个实例互发 例子的中文解释都由hanyuejun添加,有任何疑问请发hanyuejun2006@163.com */-/* Here sa small IPv4 example: it asks for a portbase and a destination and starts sending packets to that destination. The IPv4 version of the example: It requires portbase (local port) and destination (destination port) and then send a message but also monitor the news . Examples of test 1: Start a running instance, a local address with the destination address port 8888 using the same test two examples: the two start to run instances, the local address and destination address with a different port (it requires the port number is even) two examples of inter- examples of explanation issued by the Chinese hanyuejun add, have any questi
    2022-11-02 16:55:03下载
    积分:1
  • 696518资源总数
  • 105678会员总数
  • 22今日下载