blackhole.opts

Command line options for the blackhole server.

Also creates a list of available ports for the server to be run on, based on configuration and responds with the help menu when requested or invalid options are given.

blackhole.opts

blackhole.opts.ports()[source]

Create and return a list of sockets we need to create.

A maximum of two will be returned, default is standard (std) and SSL (ssl) it is enabled.

blackhole.opts.print_help(file)[source]

Prints all the command line options to stdout.

Table Of Contents

Previous topic

blackhole.log

Next topic

blackhole.ssl_utils

This Page