ioctl 获取本机网卡ip地址
时间:2009-04-12 来源:zyd_cu
#include <string.h>
//eth0为接口到名称
//SIOCGIFADDR标志代表获取接口地址 |
时间:2009-04-12 来源:zyd_cu
#include <string.h>
//eth0为接口到名称
//SIOCGIFADDR标志代表获取接口地址 |