code: def serve_forever(django=False):
      
      logger = getLogger("irc.dispatch")
      logger.setLevel(settings.LOG_LEVEL)
      logger.addHandler(StreamHandler())
      app = IRCApplication(django)
      server = SocketIOServer((settings.HTTP_HOST, settings.HTTP_PORT), app)
      print "%s [Bot: %s] listening on %s:%s" % (
          settings.GNOTTY_VERSION_STRING,
          app.bot.__class__.__name__,
          settings.HTTP_HOST,
          settings.HTTP_PORT,
      )
      server.serve_forever()
docs: Starts the gevent-socketio server.