-
February 26th, 2009, 07:33 AM
#1
How to monitor network status in Real-time?
Hi All,
I want to monitor the network status in program,such as:
If there is "A network cable is unpluged" in "Local Area Connection",
I want to capture it in program in Real-time,how can I realize it?
Someone said the function InternetGetConnectedState can do,
but I checked this function,found that when the system didn't access the internet
for a time though the network is OK,this function also returns FALSE just like
the network is not OK.
Someone said call the function WSAIoctl(),but this function has too many parameters,
and I can not deal it easily.
If I want to use this function,how to designate the parameters?
Any help is appreciated.Thanks.
Best Regards
frankzcj
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|