From 47ed3381713f0e0e375dd6087bbd507ee22bf7cc Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 24 Jun 2015 18:51:14 +0200 Subject: dtrain_net_interace: cleanup --- training/dtrain/feed.rb | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100755 training/dtrain/feed.rb (limited to 'training/dtrain/feed.rb') diff --git a/training/dtrain/feed.rb b/training/dtrain/feed.rb deleted file mode 100755 index 5f45edfb..00000000 --- a/training/dtrain/feed.rb +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env ruby - -require 'nanomsg' - -#port = ARGV[0] -port = 60666 -sock = NanoMsg::PairSocket.new -addr = "tcp://127.0.0.1:#{port}" -#addr = "ipc:///tmp/network_decoder.ipc" -sock.connect addr - -#puts sock.recv -while true - line = STDIN.gets - if !line - sock.send 'shutdown' - break - end - sock.send line.strip - sleep 1 - puts "got translation: #{sock.recv}\n\n" - #sock.send "a=1 b=2" -end - -- cgit v1.2.3