Network status from C/C++ program
What networking/system calls can be used to determine if the machine my software is running on is connected to the network? We are using sockets to do HTTP comms but have discovered no way to get the network status, for instance, when someone disconnects the network cable or the network goes down. Any suggestions/ideas/recommendations will be greatly appreciated!
|