8 class TestTCPSocket < Test::Unit::TestCase
10 assert false, "TODO: doesn't work on mswin32/64" if /mswin/ =~ RUBY_PLATFORM
11 svr = TCPServer.new("localhost", 0)
18 sock = TCPSocket.open(addr[2], addr[1])
19 assert_equal(["foo", nil], sock.recvfrom(0x10000))
24 end if defined?(TCPSocket)