NAME:
mr2 server - Run as server mode
USAGE:
mr2 server [command options] [arguments...]
OPTIONS:
--listen value, -l value Listen address, like: ':9999'
--password value, -p value Password
--portPassword value, -P value Only allow this port and password, like '1000 password', repeated. If you specify this parameter, --password will be ignored
--help, -h show help (default: false)
NAME:
mr2 client - Run as client mode
USAGE:
mr2 client [command options] [arguments...]
OPTIONS:
--server value, -s value Server address, like: 1.2.3.4:9999
--password value, -p value Password
--serverPort value Server port you want to use (default: 0)
--clientServer value, -c value Client TCP and/or UDP server address, like: 127.0.0.1:8888
--clientDirectory value Client directory, like: /path/to/www. If you specify this parameter, --clientServer will be ignored
--clientPort value Work with --clientDirectory (default: 0)
--tcpTimeout value connection tcp keepalive timeout (s) (default: 60)
--tcpDeadline value connection deadline time (s) (default: 0)
--udpDeadline value connection deadline time (s) (default: 60)
--help, -h show help (default: false)