linux C 获取与修改IP地址 主要有两种方法: 一种是用system执行shell命令,如: system(“ifconfig usb0 192.168.1.188”); 另一种用ioctl系统调用: in … 继续阅读 linux C 获取与修改IP地址