会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
博客园
首页
归档
相册
云梦士
博客园
首页
新随笔
联系
订阅
管理
Linux服务器客户端编写过程中报错”implicit declaration of function ‘inet_pton’ “
1. 问题
Linux服务器客户端编写过程中报错:
2. 问题分析
gcc的c扩展与c标准有冲突
2. 解决方案
添加头文件
#include <arpa/inet.h>
作者:
云梦士
出处:
http://www.cnblogs.com/yunmeng-shi/
本文版权归作者和博客园共有,欢迎转载,但必须给出原文链接,并保留此段声明,否则保留追究法律责任的权利。
posted @
2022-05-02 15:47
云梦士
阅读(
307
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
公告