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

简单的socket通信

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

代码说明:

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

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

发表评论

0 个回复

  • XChat
    这是一个局域网聊天工具的源代码. 采用UDP通信-XChat
    2023-04-09 05:30:03下载
    积分:1
  • achieve a server/client structure of Distributed Computing
    实现了server/client结构的分布式计算-achieve a server/client structure of Distributed Computing
    2022-03-14 14:08:49下载
    积分:1
  • jave全站
    jave全站-jave entire station
    2022-02-14 03:22:16下载
    积分:1
  • Imitate RealVNC412 compiled to view the contents of the file server of the lette...
    模仿RealVNC412编的,查看服务端的盘符文件内容并且看到感兴趣的可以文件下载下来,同时也可以上传文件到服务端任意位置的通信和文件操作程序,支持单个文件以及一个目录下的所有文件上传或下载。照搬realVnc的网络通信功能,以及支持多客户连接功能。客户端也尽量模仿realvnc的客户端,包括断线重连,属性页对话框,以及主体交互对话框,都是直接用SDK编的,当然也是抄的RealVNC.客户端以及服务端源代码文件夹下的common文件夹是静态库文件,有的是照搬RealVNC412源码,有的是模仿写的。-Imitate RealVNC412 compiled to view the contents of the file server of the letter and see the files of interest can be downloaded, but can also upload files to a server anywhere in the communications and documentation procedures to support a single file and a directory of all file upload or download. Copy realVnc network communications capabilities, and support for multi-client connectivity. Client also try to imitate realvnc clients, including the disconnection re-connected, the property page dialog box, as well as the main interactive dialog box, and are directly compiled with the SDK, of course, is also a copy of RealVNC. Client-side and server-side source code folder under the common folder is a static library file, either copy RealV
    2022-09-28 16:35:09下载
    积分:1
  • 异步C/S Socket实例
    应用背景这是一个很好的例子,对于客户机/服务器使用异步socket与C #。我是在VS2010测试。我希望帮助到很多其他程序员…关键技术技术:服务器的代码使用套接字ioctl。和服务器的代码使用线程池接受客户。客户端的代码使用套接字ioctl,太。
    2022-08-14 14:33:59下载
    积分:1
  • win inet in WTL on C++ for quck inet http
    win inet in WTL on C++ for quck inet http
    2022-03-15 01:07:18下载
    积分:1
  • 用asp实现的通用网站管理系统。
    用asp实现的通用网站管理系统。-used to achieve a common site management system.
    2022-03-15 16:59:33下载
    积分:1
  • http协议
    一同事之前写的测试http例子,鄙人在此分享与大家。 通过对windows提供的socket封装,实现http协议,下载文件。
    2022-06-19 22:54:58下载
    积分:1
  • 以太网端口保护协议,华为的技术白皮书,做电信级产品需要知道。...
    以太网端口保护协议,华为的技术白皮书,做电信级产品需要知道。
    2022-02-05 10:10:24下载
    积分:1
  • DNS客户端和SMTP客户端
    DNS Clientå’ŒSMTP Client-DNS Client and Client SMTP
    2022-03-14 16:17:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载