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.
nsIServerSocketListener
| IID: | 836d98ec-fee2-4bde-b609-abd5e966eabd |
| Inherits From: | nsISupports |
This interface is implemented by the following components:
Methods
void onSocketAccepted ( nsIServerSocket serv , nsISocketTransport transport )
void onStopListening ( nsIServerSocket serv , nsresult status )
void onSocketAccepted ( nsIServerSocket serv , nsISocketTransport transport )
This method is called when a client connection is accepted.
- Arguments:
- serv: The server socket.
- transport: The connected socket transport.
void onStopListening ( nsIServerSocket serv , nsresult status )
This method is called when the listening socket stops for some reason. The server socket is effectively dead after this notification.
- Arguments:
- serv: The server socket.
- status: The reason why the server socket stopped listening. If the server socket was manually closed, then this value will be NS_BINDING_ABORTED.
References
This interface is passed as an argument to the following methods:
Reference documentation is generated from Mozilla's source.
