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
232.I stdin232.I stdin
233as a stream of commands, you can run it like so:233as a stream of commands, you can run it like so:
234.EX234.EX
235aux/listen1 -t tcp!127.0.0.1!49161 games/orca235aux/listen1 -t tcp!127.0.0.1!49160 games/orca
236.EE236.EE
237.PP237.PP
238Then start the following in a separate "command" window:238Then start the following in a separate "command" window:
239.EX239.EX
240telnet tcp!127.0.0.1!49161240telnet tcp!127.0.0.1!49160
241.EE241.EE
242.PP242.PP
243.SH SOURCE243.SH SOURCE
plan9.c+1−1
@@ -1133,7 +1133,7 @@ threadmain(int argc, char **argv) · 1132 unmodified lines
1133 srand(time(0));1133 srand(time(0));
1134 w = h = 0;1134 w = h = 0;
1135 ip = strdup("127.0.0.1");1135 ip = strdup("127.0.0.1");
1136 udpport = strdup("41960");1136 udpport = strdup("41961");
1137 midipath = strdup("");1137 midipath = strdup("");
1138 1138
1139 ARGBEGIN{1139 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