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/socket;2?type=udp

This component implements the following interfaces:

Constants

PROXY_RESOLVES_HOST

This flag is set if the proxy is to perform hostname resolution instead of the client. When set, the hostname parameter passed when in this interface will be used instead of the address structure passed for a later connect et al. request.

PRInt32 nsISocketProvider.PROXY_RESOLVES_HOST = 1

Methods

InterfaceMethod
nsISocketProvider [noscript] void addToSocket ( PRInt32 family , char* host , PRInt32 port , char* proxyHost , PRInt32 proxyPort , PRUint32 flags , PRFileDescStar* fileDesc , out nsISupports securityInfo )
nsISocketProvider [noscript] void newSocket ( PRInt32 family , char* host , PRInt32 port , char* proxyHost , PRInt32 proxyPort , PRUint32 flags , out PRFileDescStar* fileDesc , out nsISupports securityInfo )

Reference documentation is generated from Mozilla's source.