UNIX(网络编程-基本用法):16---地址解析函数(gethostbyname、gethostbyaddr)

一、引入 二、两个函数的特点 三、struct hostent结构体 struct hostent { char *h_name; /* official name of host */ char **h_aliases; /* alias list */ int h_addrtype; /* host address type */ int h_len
相关文章
相关标签/搜索