Hi!
I am a newer to necko, I read some source code, Now I know how to open a connect, and can send string out, but can't find a simple read sample, can anybody give a hint? Thanks
BTW, I am working in JS+XPCOM
_______________________________________________ Mozilla-netlib mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-netlib
The source code for Chatzilla is a good guide. See:
http://lxr.mozilla.org/mozilla/source/extensions/irc/js/lib/connection-xpcom.js
Note however that this code only supports ASCII data transmission. If you need to support binary data transmission, then you will need to use nsIBinaryInputStream in place of nsIScriptableInputStream.
-Darin _______________________________________________ Mozilla-netlib mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-netlib