[scriptable, uuid(7b19ac06-a5fb-11d9-9f82-0011246ecd24)]
interface nsISocketTransportService : nsISupports

Methods

 Creates a transport for a specified host and port.

 @param aSocketTypes
        array of socket type strings.  null if using default socket type.
 @param aTypeCount
        specifies length of aSocketTypes.
 @param aHost
        specifies the target hostname or IP address literal of the peer
        for this socket.
 @param aPort
        specifies the target port of the peer for this socket.
 @param aProxyInfo
        specifies the transport-layer proxy type to use.  null if no
        proxy.  used for communicating information about proxies like
        SOCKS (which are transparent to upper protocols).
 
 @see nsIProxiedProtocolHandler
 @see nsIProtocolProxyService::GetProxyInfo
nsISocketTransport createTransport([array, size_is(aTypeCount)] in string aSocketTypes, in unsigned long aTypeCount, in AUTF8String aHost, in long aPort, in nsIProxyInfo aProxyInfo)