I'm trying to work with sockets in a JavaScript program. I'm not too much experienced with Mozilla's XPCOM interface (but would like to be... ;-) ).

I found a socket programming example at http://xulplanet.com/tutorials/mozsdk/sockets.php . Unfortunately, I can't get it to work. The response returned from the remote server are never printed to the screen (in xpcshell). By adding some more print commands I get the impression that the onDataAvailable function is never called.

Can anybody tell me what's wrong with this example (or with my installation) or give me a pointer to a working example?

Thanks in advance!
_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to