× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



From: Kevin Turner
The huge benefit of websockets is that you can have a permanent
connection between the client and the server

You can do that with XMLHTTPRequest objects as well. The Apache server supports persistent connections.

and the server can "push" events to the browser,


I've read that from a number of sources on the Web. But I don't think it's true. WebSockets just hides the request-response cycle. TCP/IP is fundamentally a request-response protocol. A server won't push anything to a client without a client requesting it first.

rather than the browser having to poll the server periodically.

A push mechanism is far more efficient that a long polling mechanism.


As I already indicated, I think Web Sockets are still polling the server. But it's not apparent.

-Nathan.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.