Ken wrote:
Hi guys and gals,              I'm doing a TCP server for my
extension where it constantly listen to the client .
The client will send a string to me and I process it
with the XUL javascript and then return the results
back to the client. Anyone know how am i going about doing this, any sample code or website i can refer to it

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

http://lxr.mozilla.org/seamonkey/source/netwerk/test/TestServ.js is an example that makes use of that interface.

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

Reply via email to