For Windows, check the InternetGetConnectedState function of wininet:
MSDN: http://tinyurl.com/28kr
You can check (among other things) if:
- Local system uses a local area network to connect to the Internet;
- Local system uses a modem to connect to the Internet.
The machine must have at least IE 4.
Carlos
> Carlo Rubini:
>
> Sorry, but after sending the first message I realized that
> it was a little vague. Here follows a more complete
> description of my query.
>
> Is there any way <for an application> to detect if a
> machine (Mac and Win32) is using a LAN or a Dial-up connection?
>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|