I wish to write a C program to detect whether the Ethernet cable is plugged or unplugged. I found out by using a command "nm-tool" in Linux terminal will show me whether a Ethernet cable is plugged...
Type: Posts; User: christyyim
I wish to write a C program to detect whether the Ethernet cable is plugged or unplugged. I found out by using a command "nm-tool" in Linux terminal will show me whether a Ethernet cable is plugged...
Here is the code I wrote to detect whether a LAN cable is pluged or unpluged. After compilation, it gives me the warning:
warning: assignment makes integer from pointer without a cast
Here is...