Logo Search packages:      
Sourcecode: xulrunner version File versions

boolean nsIProtocolHandler::allowPort ( in long  port,
in string  scheme 

Allows a protocol to override blacklisted ports.

This method will be called when there is an attempt to connect to a port that is blacklisted. For example, for most protocols, port 25 (Simple Mail Transfer) is banned. When a URI containing this "known-to-do-bad-things" port number is encountered, this function will be called to ask if the protocol handler wants to override the ban.

Generated by  Doxygen 1.6.0   Back to index