阅读背景:

socket地址解析相关的几个函数inet_addr,inet_ntoa,gethostname,gethostbyname

来源:互联网 

#include <sys/socket.h>
#include <netdb.h> //hostent , gethostbyname gethostbyaddr#include <netdb.h> //hos




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: