Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Connected?

From: holger:rebol at: 14-Aug-2001 10:20

On Tue, Aug 14, 2001 at 10:49:22AM +0800, [philb--upnaway--com] wrote:
> I have 2 PCs networked at home .... I use MS Internet connection sharing to share an internet connection. > > In Rebol when I am *not* connected to the intenet > > >> Connected? > == true. > > bug? or Microsloth being its usual self?
connected? returns true if Windows believes that you have an outside connection (i.e. a connection to a network which accepts packets for the Internet ). It is impossible to tell from an application whether a real, physical connection to the Internet exists. This means that if you are on a LAN, connected to a router then REBOL cannot tell if the router itself is connected. connected? will return true whenever the interface is "up" and the router is listed as a default gateway. -- Holger Kruse [holger--rebol--com]