Displaying 1 result from an estimated 1 matches for "mindreadrcontrol".
2006 Feb 14
4
Newbie stumped by "NameError in "
...tter, because I cannot -->
<!-- get this section of code even called. -->
require "socket"
STDOUT.flush
s = TCPSocket.open("192.168.107.10", 9000)
result = "MindReadr Request called"
mindreadr_controller.rb (mindreader_open_socket is defined here)
class MindreadrController < ApplicationController
def index
end
def display_images_from_mindreadr
# Basic action which calls _open_socket, _request, and _read
render(:layout => false)
end
def mindreadr_open_socket
# Connect to MindReader server/port
render(:la...