您好!
我按照《ESP8266 RTOS SDK 编程⼿册 Version 1.3.0》中 “3. 网络⽰例: TCP server” 建立TCP server,但是编译无法识别结构体 struct sockaddr_in(我已包含头文件sockets.h)。在sockets.h中发现要定义宏 LWIP_SOCKET 为真,才能让该结构体定义生效,但在lwipopts.h中定义该宏以后还是不行,同时发现似乎SDK中lwip头文件包含路径有些问题。
请问rtos sdk中的socket该如何正确使用?
RTOS SDK中socket问题怎么正确使用
Re: RTOS SDK中socket问题怎么正确使用
Postby ESP_Faye » Tue Feb 16, 2016 9:01 pm
您好,
您可以参考我司基于 ESP8266_RTOS_SDK 的示例使用 https://github.com/espressif/ESP8266_IOT_PLATFORM。
感谢您对 ESP8266 的关注!
您可以参考我司基于 ESP8266_RTOS_SDK 的示例使用 https://github.com/espressif/ESP8266_IOT_PLATFORM。
感谢您对 ESP8266 的关注!
Who is online
Users browsing this forum: No registered users and 3 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.