🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.delphi.nativeapi
2 messages
2 total messages Started by itibira Sun, 10 Jun 2007 03:49
How to detect LAN connection break?
#47
Author: itibira
Date: Sun, 10 Jun 2007 03:49
7 lines
1282 bytes
Hi,

How can the real-rime status of the LAN connection be determined? ie:
i would like to know (query) if there is a network cable attached or
not.

Thanks in advance.
Re: How to detect LAN connection break?
#48
Author: itibira
Date: Sun, 10 Jun 2007 05:27
19 lines
1893 bytes
On Jun 9, 8:49 pm, itibira <pelli...@shaw.ca> wrote:
> Hi,
>
> How can the real-rime status of the LAN connection be determined? ie:
> i would like to know (query) if there is a network cable attached or
> not.
>
> Thanks in advance.

P.S.:

i would like to use an API or WMI directly and not third party
components to do this. Windows XP and 2000 for example, have a Local
Area Connection icon in the System Tray that will show a message of
whether the Network cable is unplugged or not and it will notify the
user immediately when a change occurs. i would like to capture this
event programatically. How can this be done?

Thanks.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads