Commit 678f3526 by Michael Pastushkov

fix

parent 24f1eeda
......@@ -643,11 +643,7 @@ void check_options() {
exit(-1);
}
/* Consistency checkss */
// if (options.proto == SOCK_DGRAM && options.fork) {
// printf("%s: %s\n", name, "option --fork is not supported with --proto=udp, ignored");
// options.fork = 0;
// }
/* Consistency checks */
if (options.mode == MODE_SERVER && !options.stay_alive) {
printf("%s: %s\n", name, "option --stay-alive is switched on with --mode=server");
options.stay_alive = 0;
......
......@@ -3,7 +3,7 @@
#define NAME "bytevia"
#define VERSION "1.0"
#define PROTO SOCK_DGRAM
#define PROTO SOCK_STREAM
#define REMOTE_HOST "p4pn.net"
#define REMOTE_PORT 1984
#define LOCAL_PORT 1948
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment