登录
首页 » c++ » 实现了简单UDP通信

实现了简单UDP通信

于 2022-01-27 发布 文件大小:63.10 kB
0 54
下载积分: 2 下载次数: 1

代码说明:

该程序简单实现了UDP的通信,可以以帮助学习简单的socket通信

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

发表评论

0 个回复

  • 实时调度系统
    对车间工序作业计划进行实时调度,每10分钟更新一次作业完成情况,若实际完成情况与计划有出入且超过30min,则对后续计划进行重新调度,保证计划实施的准确性调度的可行性等。
    2022-01-25 23:59:54下载
    积分:1
  • GetEcgPpg
    心电信号处理,滤波与计算 之:数据的读取(ECG signal processing, filtering and calculation of: reading data)
    2014-09-10 19:53:11下载
    积分:1
  • LPC2148-IAP
    基于NXP公司的ARM7芯片LPC2148的IAP模块的程序,在Keil4上编译通过(NXP' s ARM7 chip LPC2148 IAP module-based program, compiled by the Keil4)
    2020-09-04 15:28:09下载
    积分:1
  • TextureMesh
    RunSFM中作者写的纹理映射的应用程序(RunSFM the authors write texture mapping application)
    2015-01-29 17:42:25下载
    积分:1
  • STM32F103C8T6超声波测距源码
    说明:  ALIENTEK STM32开发板SYSTEM文件夹,采用V3.5库的头文件,使得代码可以完美移植到库函数里面使用,不过注意,在新建工程的时候,请在:Options for Target-->C/C++ 选项卡里面 Preprocessor Symbols 栏定义你的STM32芯片容量。比如:ALIENTEK 战舰STM32开发板用户,使用的是大容量的STM32芯片,则在Define栏输入:STM32F10X_HD 对于STM32F103系列芯片,设置原则如下: 16KB≤FLASH≤32KB 选择:STM32F10X_LD 64KB≤FLASH≤128KB 选择:STM32F10X_MD 256KB≤FLASH≤512KB 选择:STM32F10X_HD(ALIENTEK STM32 development board SYSTEM folder, using V3.5 library header file, so that code can be perfectly transplanted to the library function to use, but note that in the new project, please: Options for Target - > C/C++ tab in the Preprocessor Symbols column to define your STM32 chip capacity. For example: ALIENTEK warship STM32 development board users, using a large capacity STM32 chip, in the Define column input: STM32F10X_HD For STM32F103 series chips, the setting principles are as follows: 16KB < FLASH < 32KB Selection: STM32F10X_LD 64KB < FLASH < 128KB Selection: STM32F10X_MD 256KB < FLASH < 512KB Selection: STM32F10X_HD)
    2019-01-15 13:31:52下载
    积分:1
  • MP3播放器实验
    说明:  实验器材: MiniSTM32F103开发板V3版本 实验目的: 学习VS1053的使用,实现一个简单的MP3. 硬件资源: 1,DS0(连接在PA8) 2,串口1(波特率:9600,PA9/PA10连接在板载USB转串口芯片CH340上面) 3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过GPIO驱动,连接关系见lcd.h) 4,W25Q64(SPI FLASH芯片,连接在SPI1上) 5,按键KEY0(PC5)/KEY1(PA15)/KEY_UP(PA0,也称之为WK_UP) 5,SD卡,通过SPI1连接 6,ATK-VS1053模块与STM32芯片连接关系为(请按如下接线连接Mini板和MP3模块): ATK-VS1053模块----------STM32芯片 VS_SCK ----------- PA5 VS_MISO ------------ PA6 VS_MOSI ------------ PA7 VS_RST ------------ PA11 VS_XDCS ----------- PA4 VS_XCS ----------- PA8 VS_DREQ ------------ PA12 5V ------------ 5V GND ------------ GND(Laboratory equipment: MiniSTM32F103 Development Board V3 Version The purpose of the experiment is: Learn the use of VS1053 and implement a simple MP3. Hardware resources: 1, DS0 (connected to PA8) 2. Serial port 1 (baud rate: 9600, PA9/PA10 connected on board USB to serial chip CH340) 3, ALIENTEK 2.8/3.5/4.3/7 inch TFTLCD module (driven by GPIO, connection relationship see lcd.h) 4, W25Q64 (SPI FLASH chip, connected to SPI 1) 5. Keyboard KEY0 (PC5)/KEY1 (PA15)/KEY_UP (PA0, also known as WK_UP) 5, SD card, connected by SPI1 6. The connection relationship between ATK-VS1053 module and STM32 chip is as follows (please connect Mini board and MP3 module according to the following wiring): ATK-VS1053 Module - ----- STM32 Chip VS_SCK------------- PA5 VS_MISO---------------- PA6 VS_MOSI---------------- PA7 VS_RST---------------- PA11 VS_XDCS------------- PA4 VS_XCS--------------- PA8 VS_DREQ---------------- PA12 5V--------------- 5V GND--GND)
    2020-06-22 05:00:02下载
    积分:1
  • 基于stc15w408as的LCD1602和ds1307显示时钟
    基于stc15w408as的LCD1602和ds1307来显示时钟,还有ds18b20的温度显示,同时增加了按键控制,LCD的en为P2^6;rs为P2^7;1307的SDA为P2^3,SCL为P2^4;可以完美实现。
    2022-03-20 20:47:17下载
    积分:1
  • 转载libmodebus库的测试文件
    转载libmodebus库的测试文件,从站是用软件测试的,如果要用单片机当从站,修改那八个字节的参数即可。用的是QT开发软件,可以修改mainwindows的内容。
    2022-10-29 09:45:03下载
    积分:1
  • CC2530 BasicRF
    说明:  CC2530 BasicRF ,BasicRF协议栈的无线控灯(Wireless light control in basic RF protocol stack)
    2020-09-27 13:56:33下载
    积分:1
  • 声音技术
    说明:  在dos下声音的处理pc喇叭发声,声卡技术,WAV文件的播放技术(voice processing pc speakers audible, audio technology, WAV file playback technology)
    2005-12-02 21:38:44下载
    积分:1
  • 696518资源总数
  • 104313会员总数
  • 30今日下载