虫虫首页|资源下载|资源专辑|精品软件
登录|注册

ip_addr

  • IP地址及子网的合法性 使有方法: 程序名 subnet/mask ip_addr 说明:subnet/mask:如211.168.2.0/27 ip_addr: 如211.168.2.3

    IP地址及子网的合法性 使有方法: 程序名 subnet/mask ip_addr 说明:subnet/mask:如211.168.2.0/27 ip_addr: 如211.168.2.3

    标签: ip_addr subnet mask 211

    上传时间: 2013-12-31

    上传用户:维子哥哥

  • STM32F103驱动W5500网络程序

    #include "W5500.h"/***************----- 网络参数变量定义-----***************/unsigned char Gateway_IP[4];// 网关IP 地址unsigned char Sub_Mask[4]; // 子网掩码unsigned char Phy_Addr[6]; // 物理地址(MAC)unsigned char ip_addr[4]; // 本机IP 地址unsigned char S0_Port[2]; // 端口0 的端口号(5000)unsigned char S0_DIP[4]; // 端口0 目的IP 地址unsigned char S0_DPort[2]; // 端口0 目的端口号(6000)unsigned char UDP_DIPR[4]; //UDP( 广播)模式,目的主机IP 地址unsigned char UDP_DPORT[2]; //UDP( 广播)模式,目的主机端口号/***************----- 端口的运行模式-----***************/unsigned char S0_Mode =3; // 端口0 的运行模式,0:TCP 服务器模式,1:TCP 客户端模式,2:UDP(广播)模式#define TCP_SERVER 0x00 / /TCP服务器模式#define TCP_CLIENT 0x01 / /TCP客户端模式#define UDP_MODE 0x02 / /UDP(广播)模式

    标签: stm32f103 驱动 w5500

    上传时间: 2022-06-22

    上传用户:lostxc