Displaying 1 result from an estimated 1 matches for "login_request".
2010 Jun 14
0
Sockets are Killing Me!
I''ve been trying to interface to the onlineNIC API which uses
sockets. The following 4 lines of test code illustrate my problem:
socket=TCPSocket::new(''ip'',''port'')
puts("Connect:\n"+socket.read()+"\n\n")
socket.print(login_request)
puts("Login:\n"+socket.read()+"\n\n")
In the actual code the real IP address and port number are substituted
for ''ip'' and ''port'' in the above.
In the first line I establish a connection. In the second line I
print the response. These 2 li...