merlin wrote: > Hi: > I wonder if i can write a XPCOM component act as a small http server. > Any suggestions? It could be done. You probably won't find nsISocketTransport suitable for your needs though. It doesn't have any methods for bind, listen, or accept. Darin