菜单

sys/socket.h: No such file or directory

下载

默认情况下,编译按钮、运行按钮,是win32模拟器的toolchain。下载、导出是用linux的toolchain。

模拟器是win32的,要用 winsock2

#if __arm__

#include <sys/socket.h>

#include <netinet/in.h>
#include <arpa/inet.h>

#else

#include <winsock2.h>

#endif

最近修改: 2026-09-03Powered by