summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/tictactoe/listen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'share/hackvr/examples/tictactoe/listen.sh')
-rwxr-xr-xshare/hackvr/examples/tictactoe/listen.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/share/hackvr/examples/tictactoe/listen.sh b/share/hackvr/examples/tictactoe/listen.sh
deleted file mode 100755
index deac685..0000000
--- a/share/hackvr/examples/tictactoe/listen.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-
-#to finish out any that might still be listening
-nc -z 127.0.0.1 1050
-nc -z 127.0.0.1 1051
-
-echo hackvr://$(hostname).$(domainname):1050/ player 1
-echo hackvr://$(hostname).$(domainname):1051/ player 2
-
-coproc ./game.sh
-tee >(ncat -lp 1050 >&"${COPROC[1]}") >(ncat -lp 1051 >&"${COPROC[1]}") >/dev/null <&"${COPROC[0]}"