diff options
author | Patrick Simianer <p@simianer.de> | 2015-06-24 20:35:41 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-06-24 20:35:41 +0200 |
commit | 01d50b20817f606108968e0cd4898f5883fa414e (patch) | |
tree | 3b9bb0f7b1a6e92e569a9c7ef3b43bf18553aa65 /python/feed_extract.rb | |
parent | 22ea76bc189f866e716d4d8a8755151714198ec8 (diff) |
cdec.sa: cleanup
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 - |