Dennis wrote:

>   if InternetGetConnectedState (
>      INTENET_CONNECTION_MODEM or
>      INTENET_CONNECTION_LAN or
>      INTERNET_CONNECTION_PROXY) then
>     // do whatever you need to do to connect to the server...
> end;

Thanks for that, sounds like what Bram was after.

>  The only gotcha with this method is it tells you whether there has
> been an internet connection

Hmmm. ...since....?  Reboot? Last call? Breakfast? <g>

I ask only because I can't find any docs for it in 
win32.hlp/socks2.hlp et al -- I assume it must be described 
somewhere in a MSDN CD or something?

Thanks!

cheers,
peter

============================================
Peter Hyde, WebCentre Ltd & SPIS Ltd, Christchurch, New Zealand
* Web automation for online periodicals: http://TurboPress.com
* TurboNote+: http://TurboPress.com/tbnote.htm
  -- handy onscreen notes and instant messaging
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"

Reply via email to