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: Luis Rossi
Subject: Re: [lwip-users] Question aboutthe contrib webserver
Date: Wed, 20 Oct 2010 17:48:30 +0200

Hmmm but is it possible to implement some sort of _javascript_ that is going to receive data with no request? On the server sude i can just sent the data wherever i want, the problem is to the client make good use of it hahaha.

On Wed, Oct 20, 2010 at 5:37 PM, Simon Goldschmidt <address@hidden> wrote:
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
_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users



--
Luís Filipe Rossi
Electrical Engineer
Escola Politécnica
Universidade de São Paulo

reply via email to

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