/STM32_HAL_W5500_Ethernet

STM32 using W5500 for Ethernet communicationSTM32使用W5500进行以太网通讯

Primary LanguageC

STM32:
	IP:192.168.1.1  Port:5001
PC:
	IP:192.168.1.2  Port:5002
(值得注意的是,实际上PC发送时的IP是由操作系统自动分配的,也就是您必须先给STM32发送一次数据,由recvfrom函数获取PC的IP,传值给remote_ip,您才能顺利发送数据给PC)
(It is worth noting that actually the IP of the PC when sending is automatically assigned by the operating system, that is, you have to send data to the STM32 once, get the IP of the PC by the recvfrom function, pass the value to remote_ip, and you can send data to the PC smoothly)