It's not possible, because the browser closes the connection as soon as the server responds. The only way is to keep pooling the server. Even though http is not udp, from a javascript point of view, it acts like udp.

On 1/30/2010 3:38 AM, JA wrote:
Might be a silly question, but how do you make this scenario work
efficiently:

The client sends a message to the server, then displays the server
status.  Now I'm expecting some other client to respond to my message
at a later time, but I don't want to keep polling to see whether the
server status has changed.  Is there a way for the server to call a
procedure on the client when the second client has clicked?

Thx.


--
You received this message because you are subscribed to the Google Groups "Google 
Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to