The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Detection and Display using Javascript
s3s3
post Mar 17 2012, 06:47 AM
Post #1





Group: Members
Posts: 5
Joined: 17-March 12
Member No.: 16,732



I have a LAN where several boards are connected, each having its own (known) ip adress. I am controlling them through HTML (toggling leds, reading temperature etc). I would also like to add a function which shows which board is connected, so that I don't have to check this manually. How could this be done in HTML and/or javascript?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
 
Reply to this topicStart new topic
Replies
XP1
post Mar 17 2012, 10:39 AM
Post #2





Group: Members
Posts: 7
Joined: 14-March 12
Member No.: 16,709



The unintelligent way to do this is to use JavaScript to check the response of the web server.

Unintelligent means that it does not know that when the web server is down, it can still be connected to the network. Using the unintelligent method means that the only way to check would be that the web server must be online.

Is the unintelligent method acceptable to you?

This post has been edited by XP1: Mar 17 2012, 10:40 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 10:22 AM