History

plan9: fix mixed up UDP in/out port numbers

Sigrid Haflínudóttir committed 6 years ago

Commit 0c085541 parent 93781fc2 files · +3 −3Browse files

Unified · Split

2 files
  1. orca.man +2 −2
  2. plan9.c +1 −1
orca.man+2−2
@@ -232,12 +232,12 @@ treats · 231 unmodified lines
232232 .I stdin
233233 as a stream of commands, you can run it like so:
234234 .EX
235−aux/listen1 -t tcp!127.0.0.1!49161 games/orca
235+aux/listen1 -t tcp!127.0.0.1!49160 games/orca
236236 .EE
237237 .PP
238238 Then start the following in a separate "command" window:
239239 .EX
240−telnet tcp!127.0.0.1!49161
240+telnet tcp!127.0.0.1!49160
241241 .EE
242242 .PP
243243 .SH SOURCE
plan9.c+1−1
@@ -1133,7 +1133,7 @@ threadmain(int argc, char **argv) · 1132 unmodified lines
11331133 srand(time(0));
11341134 w = h = 0;
11351135 ip = strdup("127.0.0.1");
1136− udpport = strdup("41960");
1136+ udpport = strdup("41961");
11371137 midipath = strdup("");
11381138
11391139 ARGBEGIN{

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t