登录
首页 » 通信 » Socket通信协议

Socket通信协议

于 2022-03-04 发布 文件大小:51.49 kB
0 245
下载积分: 2 下载次数: 1

代码说明:

Socket 通信的原理还是比较简单的,它大致分为以下几个步骤。   服务器端的步骤如下。   ( 1 )建立服务器端的 Socket ,开始侦听整个网络中的连接请求。   ( 2 )当检测到来自客户端的连接请求时,向客户端发送收到连接请求的信 息,并建立与客户端之间的连接。   ( 3 )当完成通信后,服务器关闭与客户端的 Socket 连接。   客户端的步骤如下。   ( 1 )建立客户端的 Socket ,确定要连接的服务器的主机名和端口。   ( 2 )发送连接请求到服务器,并等待服务器的回馈信息。   ( 3 )连接成功后,与服务器进行数据的交互。   ( 4 )数据处理完毕后,关闭自身的 Socket 连接。  

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

发表评论

0 个回复

  • MODBUS-TCP
    MODBUS-TCP C#,读写                                                  
    2022-02-02 19:33:46下载
    积分:1
  • 三串口通信编程,通过编程调试通过。
    三种常用的串行通讯的编程方法,在VC++下调试通过。-three common serial communication programming, debugging through VC.
    2023-01-06 21:10:03下载
    积分:1
  • 利用网络实现了网络监控的使用,实现了对网络的应用…
    用Delphi实现网络监控用Delphi实现网络监控用Delphi实现网络监控用Delphi实现
    2022-06-29 17:43:57下载
    积分:1
  • with a series of RS coding procedures, using BERLEKAMP
    一个用c编的RS编码的程序,采用BERLEKAMP-MASSEY S 算法,输入m,以及信噪比,可得到生成多项式和误码率等。-with a series of RS coding procedures, using BERLEKAMP- MASSEY S algorithm input m, and the signal-to-noise ratio. available generating polynomial and the error rate.
    2022-03-22 00:27:10下载
    积分:1
  • QPSK信号采用CMA算法做盲均衡
    该代码能够实现在多径信道下对QPSK信号做盲均衡,采用的是CMA算法,仿真结果由四部分构成,分别是:均衡前后信号星座图的对比图;均衡后系统的误码率曲线,误差函数的收敛曲线;信道响应。
    2022-04-15 22:56:52下载
    积分:1
  • 现有数字信号自动调制识别方法大多只适用于无记忆信号,如PSK、ASK、FSK信号等。将有记忆 信号(MSK信号)和无记忆信号一起考虑,提出了一种改进的数字信...
    现有数字信号自动调制识别方法大多只适用于无记忆信号,如PSK、ASK、FSK信号等。将有记忆 信号(MSK信号)和无记忆信号一起考虑,提出了一种改进的数字信号自动识别方法。该方法采用信号的瞬时统 计量作为特征参数,采用多层神经网络作为分类器。计算机仿真表明:当噪声采用高斯白噪声,并且信噪比大于 l5 dB时,识别率高于96% ;当信噪比不低于l0 dB时,识别率不低于90%。-Existing digital signal automatic modulation recognition methods are mostly applied only to memoryless signals, such as PSK, ASK, FSK signals. Will have a memory signal (MSK signal) and non-memory signal into consideration, an improved digital signal automatic identification method. This method is the use of the instantaneous signal statistics as a characteristic parameter, the use of multi-layer neural network as classifier. Computer simulation shows that: When the noise using Gaussian white noise, and signal to noise ratio greater than l5 dB, the recognition rate is higher than 96 when the signal to noise ratio not less than l0 dB, the recognition rate of not less than 90.
    2023-09-07 22:55:03下载
    积分:1
  • 这是关于数字通信的一些程序,希望对大家有所帮助
    这是关于数字通信的一些程序,希望对大家有所帮助-This is the digital communication on some of the procedures, we hope to help
    2023-01-23 14:20:04下载
    积分:1
  • 存C写的zip压缩、解压缩源代码。主要对文件操作,希望有经验的朋友把它改造成能对内存操作的类...
    存C写的zip压缩、解压缩源代码。主要对文件操作,希望有经验的朋友把它改造成能对内存操作的类-Depositors C written by zip compression, decompress the source code. The main operation of the document, I hope a friend has experienced it can be transformed into the type of memory operation
    2023-07-26 10:40:03下载
    积分:1
  • to handle *.NH files
    to handle *.NH files-to handle*.NH files
    2022-03-24 20:25:17下载
    积分:1
  • C8051F020
    c8051f020 - c8051F020
    2022-06-01 16:44:05下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载