lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Question aboutthe contrib webserver


From: Simon Goldschmidt
Subject: Re: [lwip-users] Question aboutthe contrib webserver
Date: Wed, 20 Oct 2010 17:37:02 +0200

Luis Rossi <address@hidden> wrote:

> I need to implement a webserver for monitoring some inputs. For now i am 
> polling with a GET command to see the state of the inputs but is there any 
> way to the webserver update the data inside a website without a request of 
> the client? Something like, when something happens on the input i will 
> generate a interrupt and change something on the website. Any workaround for 
> this with the lwip webserver?

Asynchronous communication like you want it is not really possible with HTTP. 
If you had persistent connections, you would still have to poll the server 
using GET requests.

You might be able to use JavaScript running in the browser to poll the server 
or get notified of new data, but that's not really part of the web server then 
but rather an application hilt on top of the web server.

Simon


reply via email to

[Prev in Thread] Current Thread [Next in Thread]