WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

@mozilla.org/network/server-socket;1

This component implements the following interfaces:

Properties

readonly PRInt32 nsIServerSocket.port

Returns the port of this server socket.

Methods

InterfaceMethod
nsIServerSocket void asyncListen ( nsIServerSocketListener listener )
nsIServerSocket void close ( )
nsIServerSocket [noscript] PRNetAddr getAddress ( )
nsIServerSocket void init ( PRInt32 port , PRBool loopbackOnly , PRInt32 backLog )
nsIServerSocket [noscript] void initWithAddress ( PRNetAddrPtr* addr , PRInt32 backLog )

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com