change default port to 5002 as in #90.

this doesn't fix #34 though -- this should still be added, i.e. some automatic fallback to just any random free port.
This commit is contained in:
Albert Zeyer
2011-05-30 15:37:36 +02:00
parent f8c49423df
commit 2776a4e47e
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ int main(int argc, char **argv)
slog(LOG_INFO, "Usage:\nshairport [OPTION...]\n\nOptions:\n");
slog(LOG_INFO, " -a, --apname=AirPort Sets Airport name\n");
slog(LOG_INFO, " -p, --password=secret Sets Password (not working)\n");
slog(LOG_INFO, " -o, --server_port=5000 Sets Port for Avahi/dns-sd\n");
slog(LOG_INFO, " -o, --server_port=5002 Sets Port for Avahi/dns-sd\n");
slog(LOG_INFO, " -b, --buffer=282 Sets Number of frames to buffer before beginning playback\n");
slog(LOG_INFO, " -d Daemon mode\n");
slog(LOG_INFO, " -q, --quiet Supresses all output.\n");
+1 -1
View File
@@ -30,7 +30,7 @@ use 5.10.0;
# For given() { when() { } ... }
use feature ":5.10";
use constant PORT => 5000;
use constant PORT => 5002;
use Getopt::Long;
use FindBin;
+1 -1
View File
@@ -14,7 +14,7 @@
#define MAX_SIZE 8192
#define PORT 5000
#define PORT 5002
#define RETRY_COUNT 7
#define SERVLEN 80
#define RETRY_DELAY 1000