aliban wrote:
Can I use mozillas netlib for it via XPCOM?
How do I use it (where can I find the documentation)?
Does it offer direct socket access with event notification mechanism (send/recv)?

Yes, you can use necko for that. Use the socket transport service to create a sockettransport - http://lxr.mozilla.org/seamonkey/source/netwerk/base/public/nsISocketTransportService.idl

http://lxr.mozilla.org/seamonkey/source/netwerk/base/public/nsISocketTransport.idl

You can then use the openInputStream and openOutputStream functions. To get notified of new data, use nsIInputStreamPump.

Does it also offer SSL or do I have to add SSL somehow myselfe?

Yes, it supports that, use "ssl" as socket type.

Does it support connections over proxy?

Yes, SOCKS is supported. Pass an appropriate nsIProxyInfo.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to