logo       

Async socket: msg#02169

GoogleWebToolkit

Subject: Async socket


In Flash, I could create an async socket.
Which is very useful because it allows server pushing data
asynchronously (i.e. on the events of new data is available or changes
in data) to the client without the client's constant initiative.

Does GWT have a means to create async sockets?

Actually, how would you create an browser-side async socket in
javascript?

I know of a way some people play cheat by polling. Using the browser's
javascript, they create a so-called listener in which you declare the
url you wish to listen to and the interval of polling. And on the
listenee side, you have to install a message pusher that would listen
for the browser's "listener" polling.

I think that is cheating because the actual listener is the server not
the browser, because the browser is initiating data transfer by
polling and the server listens to the poll.
--~--~---------~--~----~------------~-------~--~----~
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-Toolkit@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
Google-Web-Toolkit+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise