Hi all,
I have a question for you.
Is there any way or any stack that can help me check the connection status specific to my ethernet port?.
The aim is to create a "LED" symbol on my screen that changes to green color when the ETH connection to my host is active and to red color when connection is down.
Any tip?
Thanks
M.
Monitoring Ethernet connection status
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Monitoring Ethernet connection status
Hi,
you may try one of these:
Both give different results depending on your network status.
Have fun!
you may try one of these:
Code: Select all
put shell("ipconfig /all")
put shell("ipconfig")
Have fun!
All code published by me here was created with Community Editions of LC (thus is GPLv3).
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!
If you use it in closed source projects, or for the Apple AppStore, or with XCode
you'll violate some license terms - read your relevant EULAs & Licenses!
-
- Posts: 11
- Joined: Fri Oct 02, 2020 10:24 am
Re: Monitoring Ethernet connection status
Thank for the tip!.
I managed by using the following:
Works like a charm
I managed by using the following:
Code: Select all
put shell("netsh interface show interface")