def METHOD_NAME(options, args):
    # create a logger
    logger = log.get_logger(log_stderr=True, level=options.loglevel)
    # implements GRIS methods
    gris = GRIS(cache_len=options.bufsize, logger=logger)
    # remote server handling
    server = grc.RemoteServer(gris, options.host, options.port, logger=logger)
    try:
        logger.info("Starting remote image server...")
        server.start()
    except KeyboardInterrupt:
        logger.info("Remote image server stopped")