A.J. Venter wrote:
Hi all, a quick question from me, under linux I would normally check if an internet connection is present by looking in the routing table for a match to subnet 0.0.0.0 This however ONLY works unix's, how would I do this is in a multiplatform way that works on windows as well ?

Ciao
A.J.

Eighter try to connect to known source for example WWW page (ping google) or under Windows use wininet API (which probably do the same but using some M$ host?)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wininet/wininet/wininet_functions.asp


Regards
Boguslaw

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to