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

Socket通信协议

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

代码说明:

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

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

发表评论

0 个回复

  • reed
    reed-solomon decoder encoder
    2023-02-01 16:10:04下载
    积分:1
  • 用于行业内部的规约测试,该软件可以抄读比较多的数据项
    用于行业内部的规约测试,该软件可以抄读比较多的数据项-for industries within the Statute of tests, the software can copy read more data items
    2022-03-25 16:01:04下载
    积分:1
  • VC 串口通信程序
    串口通信的源码,可以在vc6.0编译工具上编译通过,是学习串口通信的好源码。
    2022-07-19 05:57:33下载
    积分:1
  • development in a different way recently in the collation of the documents identi...
    串口开发的另一种方式 最近在整理文件的时候发现了原先写的一个串口程序,为了提高重用性就又重新的写了一下。根据以前的使用过的一系列串口操作软件发现,大多数的串口操作软件不具备自动的记录保存功能,于是我就在这里把它加进去,记录文件是在应用程序目录下以时间命名的文本文件。程序使用了两个可以重用的 C++ 类,串口通讯类文件 superSP.cpp, superSP.h 文件操作类文件 fileCtrl.cpp, fileCtrl.h。 -development in a different way recently in the collation of the documents identified a previously written a serial process, In order to improve reusability also on the re-write a bit. Under the previous use of the series of Serial operating software found, Most of the serial operating software does not have an automatic record-keeping functions, so I was here it added. documented in the application directory time to a text file named. Procedures for the use of the two can reuse the C category, serial communications superSP.cpp document, superSP.h file manipulation fileCtrl.cpp types of documents, fileCtrl.h.
    2022-03-18 23:02:53下载
    积分:1
  • Research article based on the pilot of the OFDM system channel estimation interp...
    文章研究了基于导频的OFDM系统信道估计插值算法-Research article based on the pilot of the OFDM system channel estimation interpolation algorithm
    2022-03-22 21:28:23下载
    积分:1
  • 利用MScomm控件编程实现串口通讯原程序,比较不错,不妨
    利用MScomm控件编程实现串口通讯原程序,比较不错,不妨-use MScomm Control Programming serial communication program, quite good to try something
    2022-07-07 18:09:43下载
    积分:1
  • 最小范数算法 波达方向估计 通信信号处理
    最小范数算法 波达方向估计 通信信号处理-Minimum norm algorithm for DOA estimation Communication Signal Processing
    2022-03-09 16:48:06下载
    积分:1
  • 基于MAX274的有源带通滤波器设计。有需要的朋友请下载
    基于MAX274的有源带通滤波器设计。有需要的朋友请下载-MAX274-based active bandpass filter design. Friend in need, please download
    2023-03-07 22:45:03下载
    积分:1
  • atsc transmitter implement
    c++实现的地面数字电视ATSC标准,从加扰到网格编码调制均测试可用。ATSC的英文全称是Advanced Television Systems Committee(美国高级电视业务顾问委员会)。该委员会于1995年9月15日正式通过ATSC数字电视国家标准。ATSC制信源编码采用MPEG-2视频压缩和AC-3音频压缩;信道编码采用VSB调制,提供了两种模式:地面广播模式(8VSB)和高数据率模式(16VSB)。
    2022-07-01 09:13:26下载
    积分:1
  • 基于观看游戏C166 OSE操作系统
    OSE操作系统下基于c166的推箱子游戏-OSE operating system based on the viewing games c166
    2022-05-28 10:40:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载