Jon Smirl wrote:

http://xulplanet.com/references/xpcomref/ifaces/nsIAsyncOutputStream.html
http://www.xulplanet.com/references/xpcomref/ifaces/nsIOutputStreamCallback.html

When you get NS_BASE_STREAM_WOULD_BLOCK call AsyncWait and then
continue writing from the OnOutputStreamReady notification.


Thanks, but how is AsyncOutputStream implemented? Right now, I take an nsITransport object and call openOutputStream - how do I get an AsyncOutputStream instead?
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to