summaryrefslogtreecommitdiff
path: root/decoder/feed.rb
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-05-13 18:07:17 +0200
committerPatrick Simianer <p@simianer.de>2015-05-13 18:07:17 +0200
commitaf1af342b5c3faf1d5e290c6b623b6287fa8c2b0 (patch)
tree99bf9ec8a181b9da3e20fc5d808f4ca1ed3984dd /decoder/feed.rb
parent03d47750699c15e8c55ca4610ed5682bcb279185 (diff)
remove obsolete stuff
Diffstat (limited to 'decoder/feed.rb')
-rwxr-xr-xdecoder/feed.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/decoder/feed.rb b/decoder/feed.rb
deleted file mode 100755
index 5ea9737d..00000000
--- a/decoder/feed.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/usr/bin/env ruby
-
-require 'nanomsg'
-
-port = 60666
-sock = NanoMsg::PairSocket.new
-addr = "tcp://127.0.0.1:#{port}"
-#addr = "ipc:///tmp/network_decoder.ipc"
-sock.connect addr
-
-while true
- line = STDIN.gets
- if !line
- sock.send 'shutdown'
- break
- end
- puts "sending source '#{line.strip}'"
- sock.send line.strip
- sleep 1
- puts "got translation: #{sock.recv}\n\n"
-end
-