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

Socket通信协议

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

代码说明:

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

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

发表评论

0 个回复

  • symbian ask dialog box to generate the source code for beginners to use.
    symbian中询问对话框生成的源代码 适合初学者使用。-symbian ask dialog box to generate the source code for beginners to use.
    2022-01-25 16:29:40下载
    积分:1
  • 智能楼宇中心管理代码
    应用背景应用于楼宇对讲设备管理,中心管理,呼叫对讲,视频查看等等。关键技术视频查看,语音对讲,基于天敏视频采集卡SDK3000开发的视频监控系统。采用串口通信将硬件系统和软件系统进行连接。数据的传输方面我们做了细致的优化,达到了报警信息和对讲功能的实现更加快捷。实现中心监控门口和围墙机,室内机对中心的呼叫与监控,门口机和围墙机呼叫中心并自动开启监控。系统包含:小区结构、呼叫对讲、 报警监控、信息发布、门禁管理、巡更打卡、信息查询、系统设置以及智能社区等功能模块。
    2022-10-02 04:00:04下载
    积分:1
  • 硕士学位论文 基于DSP的有源电力滤波器的开发研究 硬件平台为TMS320LF2407...
    硕士学位论文 基于DSP的有源电力滤波器的开发研究 硬件平台为TMS320LF2407-Master
    2022-12-30 05:05:04下载
    积分:1
  • 模拟,使用C++,系统由二进制源,RS(7,3…
    Simulate, by using c++ ,a communication system consists of binary source, RS(7,3,5)/RS(128,122,7) encoder, BPSK modulator, AWGN channel, coherent demodulator, RS(7,3,5)/RS(128,122,7) BM decoder and sink。-Simulate, by using c, a communication system consists of binary source, RS (7,3,5)/RS (128,122,7) encoder, BPSK modulator, AWGN channel, coherent demodulator, RS (7,3,5 )/RS (128,122,7) BM decoder and sink.
    2022-01-30 20:21:00下载
    积分:1
  • 分步傅利叶方法解非线性方程
    分步傅利叶方法解非线性方程-Fourier step-by-step method for solving systems of nonlinear equations
    2023-06-16 07:35:02下载
    积分:1
  • BOrgTec GPSRS232 ActiveX Control提供如下特性:分析NMEA串,也就是说包含在NMEA序列里的数据将被提取出来。数据由Active...
    BOrgTec GPSRS232 ActiveX Control提供如下特性:分析NMEA串,也就是说包含在NMEA序列里的数据将被提取出来。数据由ActiveX事件提供。NMEA序列从与PC串口连接的GPS接受器中获得。可以配置串口的参数,以与多种GPS接受器进行通讯。配置ActiveX Control显示数据的字体颜色和计量单位。这些特性使你在应用中加入GPS功能变得简单。适用语言:D5-BOrgTec GPSRS232 ActiveX Control provides the following features: Analysis of NMEA string, that is included in the sequence in the NMEA data will be extracted. Data provided by the ActiveX events. NMEA sequence from the PC serial port to connect with the GPS receiver gain. Serial port parameters can be configured to a variety of GPS receivers and communication. ActiveX Control to configure the font color display data and units of measurement. These features allow you to add in the application of GPS functionality simple. The application of the language: D5
    2022-07-11 20:22:14下载
    积分:1
  • on Brehsman algorithm, also requested the exhibitions
    关于Brehsman 算法的改进,还请多多指教-on Brehsman algorithm, also requested the exhibitions
    2023-02-10 04:15:04下载
    积分:1
  • 使用Mail发送传真的程序
    使用Mail发送传真的程序 -Using mail to send fax
    2022-01-26 08:32:04下载
    积分:1
  • 用VB编写的,调用C++生成的DLL库,适用于普的程序员…
    用VB编写的,调用C++生成的DLL库,适用于普通程序员,程序内容是进行两数相乘.-prepared by the VB, call Generation C DLL library, apply to ordinary programmers, procedures for two is the number multiplication.
    2022-09-09 04:05:02下载
    积分:1
  • 本文介绍了OFDM系统中一种基于训练引导的判决反馈均衡技术
    本文介绍了OFDM系统中一种基于训练引导的判决反馈均衡技术-This paper introduces the OFDM system, a training guide based on the decision feedback equalizer technology
    2022-09-13 03:50:03下载
    积分:1
  • 696516资源总数
  • 106405会员总数
  • 10今日下载