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.

nsISocketProviderService

IID:8f8a23d0-5472-11d3-bbc8-0000861d1237
Inherits From:nsISupports

Provides a mapping between a socket type and its associated socket provider instance. One could also use the service manager directly.

This interface is intended to be used as a service. To create an object implementing this interface:

var obj = Components.classes["@mozilla.org/network/socket-provider-service;1"].
            getService(Components.interfaces.nsISocketProviderService);

Methods

nsISocketProvider getSocketProvider ( char* socketType )

nsISocketProvider getSocketProvider ( char* socketType )

Arguments:
socketType

Reference documentation is generated from Mozilla's source.