shithub: orca

Download patch

ref: 0c08554afecf7dacc2cda3fdb70c5d7f4fc0e28f
parent: 93781fc57a4c47ab2a417722b77e46df0d18604e
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sun Feb 23 10:59:25 EST 2020

plan9: fix mixed up UDP in/out port numbers

--- a/orca.man
+++ b/orca.man
@@ -232,12 +232,12 @@
 .I stdin
 as a stream of commands, you can run it like so:
 .EX
-aux/listen1 -t tcp!127.0.0.1!49161 games/orca
+aux/listen1 -t tcp!127.0.0.1!49160 games/orca
 .EE
 .PP
 Then start the following in a separate "command" window:
 .EX
-telnet tcp!127.0.0.1!49161
+telnet tcp!127.0.0.1!49160
 .EE
 .PP
 .SH SOURCE
--- a/plan9.c
+++ b/plan9.c
@@ -1133,7 +1133,7 @@
 	srand(time(0));
 	w = h = 0;
 	ip = strdup("127.0.0.1");
-	udpport = strdup("41960");
+	udpport = strdup("41961");
 	midipath = strdup("");
 
 	ARGBEGIN{