Re: IsConnectedToLAN

Giganews Newsgroups
Subject: Re: IsConnectedToLAN
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Thu, 24 Feb 2005

"Malcolm" <malcolm@spam.will.bounce> wrote in message
news:44B8DCB3F3C0E240malcolm@spam.will.bounce...

> 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.

Gambit

Replies

In response to

IsConnectedToLAN posted by Malcolm on Thu, 24 Feb 2005