diff options
Diffstat (limited to 'python/feed_extract.rb')
-rwxr-xr-x | python/feed_extract.rb | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/python/feed_extract.rb b/python/feed_extract.rb deleted file mode 100755 index c1390522..00000000 --- a/python/feed_extract.rb +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/env ruby - -require 'nanomsg' - -port = 8888 -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 || line.strip=='shutdown' - puts "shutting down" - sock.send 'shutdown' - break - end - puts "sending '#{line.strip}'" - sock.send line.strip - sleep 1 - puts "got alignment: #{sock.recv}\n\n" -end - |