Sabbz
Well-Known Member
Hey guys/girls,
I've been searching the net for a few hours now, but can't seem the find what I'm looking for: So I'll ask it here in the hopes that someone knows the answer.
I'm looking for a way to check if I am connected to the internet. Unfortunately, I have only found two ways of doing this, neither of which work since I am connected to the internet via LAN (I disconnected from the LAN and it continued to tell me that I was connected).
function InetIsOffline(Flag: Integer): Boolean; stdcall; external 'URL.DLL'; doesn't work.
and neither does the one on
http://delphi.about.com/b/2005/04/22/how-to-check-for-internet-connection-using-delphi-code.htm
Anyone ever used written an application that needs to check for an internet connection via LAN?
Any help is greatly appreciated, thanks in advance
Regards
I've been searching the net for a few hours now, but can't seem the find what I'm looking for: So I'll ask it here in the hopes that someone knows the answer.
I'm looking for a way to check if I am connected to the internet. Unfortunately, I have only found two ways of doing this, neither of which work since I am connected to the internet via LAN (I disconnected from the LAN and it continued to tell me that I was connected).
function InetIsOffline(Flag: Integer): Boolean; stdcall; external 'URL.DLL'; doesn't work.
and neither does the one on
http://delphi.about.com/b/2005/04/22/how-to-check-for-internet-connection-using-delphi-code.htm
Anyone ever used written an application that needs to check for an internet connection via LAN?
Any help is greatly appreciated, thanks in advance
Regards