| s3s3 |
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?
|
![]() ![]() |
| XP1 |
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 |
| s3s3 |
Mar 17 2012, 12:04 PM
Post
#3
|
|
Group: Members Posts: 5 Joined: 17-March 12 Member No.: 16,732 |
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? Unintelligent way seems ok since if the web server on the board is down it doesnt matter if te board is still connected or not, what would I have to use in order to accomplish this "unintelligent" way? give me a starting point And since u mentioned the unintelligent way, What would be the inteligent way to do it then?(just for the sake of curiosity) |
s3s3 Detection and Display using Javascript Mar 17 2012, 06:47 AM
Christian J AFAIK none of that can be done with HTML or javasc... Mar 17 2012, 09:32 AM
s3s3
AFAIK none of that can be done with HTML or javas... Mar 17 2012, 09:51 AM
XP1 Unintelligent way seems ok since if the web server... Mar 17 2012, 01:29 PM
s3s3
Will I be able to include somehow that smarter p... Mar 17 2012, 08:27 PM
XP1 Will I be able to include somehow that smarter pro... Mar 17 2012, 09:06 PM![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 12:36 AM |