Re: IsConnectedToLAN

Giganews Newsgroups
Subject: Re: IsConnectedToLAN
Posted by:  Remy Lebeau (TeamB) (
Date: Thu, 24 Feb 2005

"Malcolm" <malcolm@spam.will.bounce> wrote in message

> Is there a correct way to determine at run time
> whether a laptop has a LAN connection?

Indy has no concept of LANs, WANs, dialups, etc.  All it knows about is
sockets, IP addresses, etc.  It does not care where the IPs are coming from.
You need to query the OS directly to find out what kind of connection is
being used.



In response to

IsConnectedToLAN posted by Malcolm on Thu, 24 Feb 2005