aboutsummaryrefslogtreecommitdiffstats
path: root/multicast
diff options
context:
space:
mode:
authorepoch <epoch@hacking.allowed.org>2016-11-21 03:08:58 -0600
committerepoch <epoch@hacking.allowed.org>2016-11-21 03:08:58 -0600
commitdcc04cba2446a7bfe8af8268229f3ca28e228b13 (patch)
tree8d441104cb47dc719aec20b97bdee70a70b9d4a7 /multicast
parent2ca9aa1c7fc8e39743e8aa8a2b715773657d3842 (diff)
downloadhackvr-dcc04cba2446a7bfe8af8268229f3ca28e228b13.tar.gz
hackvr-dcc04cba2446a7bfe8af8268229f3ca28e228b13.zip
added an example use of hackvr with the filebrowser dir.
updated a bunch of stuff in hackvr needed to that that filebrowser working. added a multicast example what uses mcast program in my misc repo. updated obj2hackvr to require a filename as argument instead of using stdin
Diffstat (limited to 'multicast')
-rwxr-xr-xmulticast/run11
1 files changed, 11 insertions, 0 deletions
diff --git a/multicast/run b/multicast/run
new file mode 100755
index 0000000..59b41dc
--- /dev/null
+++ b/multicast/run
@@ -0,0 +1,11 @@
+#run hackvr with multicast program I made.
+#receive commands from the multicast group
+#then send some of my own to everyone else.
+#not sure how well this will work over long distances.
+
+mcast 234.5.6.7 31337 \
+ | sed -u 's/ /_/' \
+ | grep --line-buffered -v "$1" \
+ | ./hackvr "$1" \
+ | grep --line-buffered -v '^#' \
+ | ncat -u 234.5.6.7 31337