登录
首页 » 通信 » 两台电脑简单通信

两台电脑简单通信

于 2022-03-20 发布 文件大小:1.54 kB
0 203
下载积分: 2 下载次数: 1

代码说明:

很简单的源码,通过C++实现两台电脑的简单通信,希望对大家有帮助,#include #include #pragma comment(lib,"ws2_32.lib") void main() {     WORD wVersionRequested;     WSADATA wsaData;     int err;          wVersionRequested = MAKEWORD( 1, 1 );//请求1.1版本的winsock库          err = WSAStartup( wVersionRequested, &wsaData );     if ( err != 0 ) {         return;     }              if ( LOBYTE( wsaData.wVersion ) != 1 ||         HIBYTE( wsaData.wVersion ) != 1 ) {         WSACleanup( );         return;     }    &n

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

发表评论

0 个回复

  • FX232
    FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信FX232通信通信
    2022-04-11 13:39:42下载
    积分:1
  • delphi入门基本程序,包括OPC的用协议,在这个基础上进行各个厂家的设备的数据采集...
    delphi入门基本程序,包括OPC的通用协议,在这个基础上进行各个厂家的设备的数据采集-basic entry procedures, including the OPC common agreement on the basis for all manufacturers of the equipment data acquisition
    2022-04-29 07:40:11下载
    积分:1
  • 偏振复用差分相移键控号的数字相干解调与偏振解复用算法研究
    Polarization beam splitters and 3dB couplers are used to construct a home-made90 ° optical hybrid, by  which polarization diversity optical coherent receiver is carried out with single-ended detection.A10Gb / s oscillation multiplexed differential phase shift keying (DPSK) signal is transmitted through280km Standard single- mode fiber (SSMF) using erbium-doped fiber amplifier (EDFA) amplification, and no error bits are measured in th result.
    2022-02-06 08:10:33下载
    积分:1
  • MODBUS 英文规约文本(完整版)需要的下
    MODBUS 英文规约文本(完整版)需要的下-MODBUS English text of the Statute (full version)
    2022-04-26 18:38:58下载
    积分:1
  • 实现了CS8900的驱动
    实现了CS8900的驱动-Realize CS8900 driver............
    2023-02-25 06:30:03下载
    积分:1
  • rs232 serial program
    rs232 serial program
    2023-06-18 06:55:04下载
    积分:1
  • MFC实现串口
     MFC实现的串口通信程序,基于VS2015,调试无误。
    2022-12-03 11:30:12下载
    积分:1
  • 关于ChoiceGroup组件的演示程序 关于软键使用的演示程序 关于自定义组件的演示程序 关于DateFiled组件的演示程序 关于显示屏幕...
    关于ChoiceGroup组件的演示程序 关于软键使用的演示程序 关于自定义组件的演示程序 关于DateFiled组件的演示程序 关于显示屏幕的演示程序 关于Gauge组件的演示程序 关于图像组件的演示程序 关于屏幕类的演示程序 关于占位符组件的演示程序 关于字符串组件的演示程序 关于TextField的演示程序 -ChoiceGroup components on the demo program demo program on the use of soft keys on the custom component demo program on the DateFiled component demo program on the display screen of the demo program on the Gauge component of the demo program on the demo program on the image components The demo program on the screen, type placeholder component demo program on the string component of the demo program on the TextField of the demo program ....................... ..
    2022-03-05 10:16:04下载
    积分:1
  • H263规范
    H263通信规范-H263 communications specification
    2023-04-12 18:10:03下载
    积分:1
  • MFC下利用CSerialPort编写的串口demo
    远程通信常用的业务应用程序,连接不同的网站为了监视存货和交易。例如,我曾经写过一个大的配药方案在许多诊所网站自动接收新订单和更新的药学信息的每个晚上从一个世纪的主机位置。世纪的主机在晚上的时间,每个站点获取库存水平和交易信息。我的很大一部分时间都是花了建设电信例程,发送和接收信息包。在某种程度上,我提供的这个简单的CSerial类在希望它会挽救一个人从串口通信的肮脏的世界,我不得不忍受并将你解放思想集中在问题域。
    2022-10-24 03:20:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载