‘inet_pton’ was not declared in this scope

来源:互联网 发布:达内编程培训 编辑:程序博客网 时间:2024/05/01 00:09

linux g++ ‘inet_pton’ was not declared in this scope

缺少头文件

 

#include <arpa/inet.h>

0 0