This script provides a "two-ways" communication between multiple clients without page reloading.

An iFrame is used to receive messages; HTTP requests are lients without page reloading.

An iFrame is used to receive messages; HTTP requests are used for sending.

If you use Mozilla, a PHP script acts as a proxy for "streaming" the RPC data, required in order to work around Mozilla cross-domain security stuff. A direct connection is established by the client when sending messages to the server.

If you’re using IE, a direct connection is also used for the RPC data stream; Cross-frame script communication is allowed in IE as long as the frame is in the same domain - It doesn’t seem to mind a different port, unlike Mozilla.

The PHP script connects to the broadcast server, a simple multithreaded app; the broadcast server listens on 2 ports, sending one-way data on each channel. The server is quite simple at this point, but features could easily be added.


Download from: Homepage




Author:
admin
Time:
Friday, May 16th, 2008 at 2:36 pm
Category:
Chat Scripts
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply