linux下应用程序监测网口link状态的几种方法

1. 使用ioctrl SIOCETHTOOL

https://blog.csdn.net/HandsomeHong/article/details/79784570

2. 使用netlink实时监测

http://blog.chinaunix.net/uid-30226910-id-5767563.html

https://blog.csdn.net/bingyu9875/article/details/88235206

https://yq.aliyun.com/articles/577841?spm=a2c4e.11155435.0.0.2ef73312lFEuOs

https://yq.aliyun.com/articles/75653?spm=a2c4e.11153940.0.0.54907c2dvSCtZ8

 

你可能感兴趣的:(Linux)