docs: def main(config, host, port, logfile, debug, daemon, uid, gid, pidfile, umask, rundir):
      """
      Main entry point for running a socket server from the commandline.
  
      This method will read in options from the commandline and call the L{config.init_config} method
      to get everything setup.  Then, depending on whether deamon mode was specified or not, 
      the process may be forked (or not) and the server will be started.
      """
  
      _main(**locals())