[Project_owners] Code in Tutorial does not work!

Neil Deakin enndeakin at sympatico.ca
Wed Jan 21 16:26:08 EST 2004


Davide Carboni wrote:

> Hi, did anyone tried the socket read/write in async mode described in
>
> http://www.xulplanet.com/tutorials/mozsdk/sockets.php
>
> in the bottom of the page.
>
>
> I did, and it simpy doesn't work. Apache receives the request but 
> nothing is dumped in the xpcshell as response :(
>
>
You can't run asynchronous calls in xpcshell since there's no event loop 
to handle them.

The code in question works fine in Mozilla proper.

/ Neil




More information about the Project_owners mailing list