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

Socket通信协议

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

代码说明:

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

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

发表评论

0 个回复

  • 聊天客户端
    聊天的客户端,通过这个可以开发聊天的服务端,可以在两台PC机上验证。-chat client
    2022-02-01 15:39:01下载
    积分:1
  • A self
    A self-designed control of PC parallel port communication is introduced in this paper.Taking advantage of the MFC ActiveX technology, it is developed in Visual C++ and offset the scarcity of the control of PC parellel paort communication. An example of frequency measurement shows the detail procedure and application of the control.
    2022-01-25 21:28:42下载
    积分:1
  • client and mobile communications servlet
    手机客户端和servlet的通讯-client and mobile communications servlet
    2022-09-04 19:20:03下载
    积分:1
  • STM32与FPGA的,SPI方式
    STM32与FPGA的通信,SPI方式,具体介绍文件里都有,使用前请先看读我,本程序经过验证无误。
    2022-02-06 08:13:16下载
    积分:1
  • 这本书是关于超宽带的一本很好的入门书籍
    这本书是关于超宽带通信的一本很好的入门书籍-This book is on the ultra-wideband communications in a very good entry-books
    2022-11-29 09:00:04下载
    积分:1
  • A. 产生一个长为1000的二进制随机序列,“0”的概率为0.8,”1”的概率为0.2;B. 对上述数据进行归零AMI编码,脉冲宽度为符号宽度的50%,波形采样
    A. 产生一个长为1000的二进制随机序列,“0”的概率为0.8,”1”的概率为0.2;B. 对上述数据进行归零AMI编码,脉冲宽度为符号宽度的50%,波形采样率为符号率的8倍,画出前20个符号对应的波形(同时给出前20位信源序列);C. 改用HDB3码,画出前20个符号对应的波形;D. 改用密勒码,画出前20个符号对应的波形;E. 分别对上述1000个符号的波形进行功率谱估计,画出功率谱;F. 改变信源“0”的概率,观察AMI码的功率谱变化情况;-have a length of 1,000 random binary sequence, "0" with a probability of 0.8, "a" with a probability of 0.2; B. above zero AMI data coding, and pulse width of symbols width of 50%, waveform sampling rate Symbol rate for the eight times that he painted before the 20 symbols corresponding waveforms (also given before 20 Source sequence); C. HDB3 code switch to depict the former 20 symbols corresponding waveform; D. Miller to switch codes to depict the former 20 symbols corresponding waveform; E. respectively above 1,000 symbols for the power spectrum waveform estimated to depict the power spectrum; F. Change source "0" the probability to observe AMI code changes in the power spectrum;
    2022-05-24 14:06:42下载
    积分:1
  • mobile PDA study from beginning
    手机PDA程序设计入门-Game API进阶,中文书籍-mobile PDA study from beginning-Game API step on
    2022-07-20 21:34:05下载
    积分:1
  • MIMO-OFDM系统仿真,包括了接收端与发射端的分集,各种复用技术...
    MIMO-OFDM系统仿真,包括了接收端与发射端的分集,各种复用技术-MIMO-OFDM system simulation, including a receiver and transmitter sub-sets, a variety of multiplexing
    2022-03-21 14:26:18下载
    积分:1
  • cantongxun cantongxun
    CANtongxun CANtongxun
    2022-01-28 20:18:47下载
    积分:1
  • i2c总线的好文档 i2c总线的好文档
    i2c总线的好文档 i2c总线的好文档-i2c bus good documentation of good documentation i2c bus
    2022-04-09 06:39:55下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载