summaryrefslogtreecommitdiff
path: root/share/hackvr/examples/tictactoe/listen.sh
diff options
context:
space:
mode:
authorepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
committerepoch <epoch@thebackupbox.net>2022-08-17 21:34:02 -0500
commit6492ba6b4107a4da228e18db4fc5fc871bfb0579 (patch)
tree11301c4e20d9a1448337e73b62a16ab1bfeba457 /share/hackvr/examples/tictactoe/listen.sh
parent49d54d7582bdcbdcff5637e72e9f29bb5cc571bd (diff)
downloadhackvr-master.tar.gz
hackvr-master.zip
updated README to show that everything that got deleted went to an -extras repo. also, hackvr script updated to be better bashHEADmaster
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]}"