How to detect the connection status to the LAN
I use this:
Bool IsNetworkAlive(
LPDWORD lpdwFlags // Specifies the type of network connection
);
but it detect the disconnection after about 5 min then real disconnection.
How can I solve this problem?
Oh, another best way?
Thanks.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

AdministratorRank #675 · 3.6K reputationPosted Mar 25, 2003, 8:07 PM EST
gatlina20 reputationPosted Sep 16, 2003, 11:22 AM EDT
dip_2004_05142 reputationPosted Sep 17, 2003, 8:40 AM EDT