so i have a socket set up to communicate with a serial port. how do i set up a webpage that communicates to the socket, and updates the webpage with a return message from the serial port?
i have a server set up that takes messages and communicates over an rs232 port to turn my lights on and off. i want to take that a step further and create a webpage that i can browse to on my iphone and turn them on, and have the webpage take the return message from the serial port and confirm that they were turned on.
the iphone doesn't support flash, silverlight or activex. and i've read that javascript doesn't support sockets. i know asp.net supports sockets, but the problem that i can think of is that when i click a button to turn on the light, the page doesn't refresh itself to reflect the "on" status. any ideas?

0 answers