Project

General

Profile

Bug #1177 » test_tcp_client.rb

OlegPuchinin (Oleg Puchinin), 02/19/2009 11:23 PM

 
#!/usr/bin/ruby

require "socket"

sock = TCPSocket.new("127.0.0.1", 1666)
p sock
#sock.eof # BLOCKED. OR
sock.eof? # BLOCKED
puts "OK"


(1-1/2)