linux probe whether network line is attached to network card normally
#include #include #include #include #include #include #include #include #include #include #include //ifnamelike"eth0".//Notice:callthisfunctionneedrootprivilege.//returnvalue://-1--error,detailsabout