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

简单的socket通信

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

代码说明:

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

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

发表评论

0 个回复

  • EVC中的ping的例子,对初学EVC有些帮助
    EVC中网络编程的ping的例子,对初学EVC有些帮助-EVC network programming in the ping example, EVC for beginner some help
    2022-02-04 11:22:56下载
    积分:1
  • 年龄别生育率ASFRecorder在改进版,基础可以:与巴…
    ASFR+是在ASFRecorder的基础上的改进版本,它可以: ◇支持中文文件名. ◇多线程下载ASF文件. ◇断点续传,自动重试. ◇支持MMS(TCP)协议和HTTP协议(自动探测). ◇在下载时修正数据,确保100%与原文件相同.-ASFR ASFRecorder is on the basis of the improved version, it could : With the backing file. With the multi-threaded download ASF. Over HTTP, automatic retry. With the support of MMS (TCP) protocol and the HTTP protocol (automatic detection). With the amendments to the download data to ensure that 100% of the same original document.
    2022-01-26 03:57:39下载
    积分:1
  • 功能更齐全的浏览器
    一个功能比较完备的浏览器-a more complete functional browser
    2022-12-04 05:30:03下载
    积分:1
  • 一个数据库连池的java好
    一个数据库连接池的java好程序-a database connection pool of java good procedures
    2022-01-25 20:56:15下载
    积分:1
  • 用Java实现断点续传
    用Java实现断点续传-using Java HTTP
    2022-02-01 10:36:50下载
    积分:1
  • JavaScript写的序javascriptxied矿山slyoux
    JavaScript写的扫雷程序JavaScriptxied slyoux-JavaScript written procedures JavaScriptxied mine slyoux
    2023-06-28 17:10:03下载
    积分:1
  • 一个非常好的crc软件
    一个非常好的crc软件-CRC a very good software
    2022-06-26 17:45:32下载
    积分:1
  • 由vc++开发的简易聊天序,可以局域,也可以公
    由vc++开发的简易聊天程序,可以局域网,也可以公网-By vc to develop a simple chat program can be local area networks, public networks can also
    2023-03-31 07:05:03下载
    积分:1
  • 基于RTP的实时语音通信系统
    基于rtp的实时语音聊天,采用adpcm压缩/* comm.h - Communication input/output modules * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation; either version 2 of the License, or (at your option) * any later version. * * This program is distributed in the hope that it will be * useful, but WITHOUT ANY WARRANTY; without even the implied * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE.  See the GNU General Public License for more * details (available in COPYING).
    2022-01-28 15:16:42下载
    积分:1
  • 一些工具的源
    一些网络工具的源程序-Web tools of the source
    2022-07-12 21:11:17下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载