lib/sp_store/comm/ethernet_controller.rb
def receive()
    raise "Not connected!" unless @socket
    #puts "Receiving... "
    data = @socket.recv
    #puts " #{data.unpack('H*').first} "
    #data
  end
# Receives a packet
#
# Raises:
#   RuntimeError:: if not connected
Receives a packet
Raises:
RuntimeError:: if not connected
Receives a packet Raises : RuntimeError :: if not connected
def receive()
    raise "Not connected!" unless @socket
    data = @socket.recv
  end
def receive ( ) raise "Not connected!" unless @socket data = @socket . recv end
Receives a packet
Raises:
RuntimeError:: if not connected
Receives a packet Raises : RuntimeError :: if not connected
#puts "Receiving... " #puts " #{data.unpack('H*').first} " #data