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
Christian J
post Mar 17 2012, 09:32 AM
Post #2


.
********

Group: WDG Moderators
Posts: 9,653
Joined: 10-August 06
Member No.: 7



AFAIK none of that can be done with HTML or javascript.

If you set up a local server, you might let a server-side script on it check when browsers with IPs from the different computer logged in last time.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
s3s3
post Mar 17 2012, 09:51 AM
Post #3





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



QUOTE(Christian J @ Mar 17 2012, 09:32 AM) *

AFAIK none of that can be done with HTML or javascript.

If you set up a local server, you might let a server-side script on it check when browsers with IPs from the different computer logged in last time.


I don't have computers in the network but boards with only a tcp/ip stack on them and a local html page which I see when I connect manually to their ip with a browser.
I'm only interested to know which board is conected at the time of wathcing. I'm not interested in any history. I want to open a webpage and see which board is online. Boards which are connected are constantly sending packets so i just have to somehow identify who sent the packets. And this should be done in a browser.

This post has been edited by s3s3: Mar 17 2012, 09:52 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: 18th April 2024 - 03:13 PM