Bug #1323
closedSockets broken on windows
Description
=begin
Ruby built with VC2008. All the socket tests fail.
ruby socket\test_socket.rb
-
Error:
test_accept_loop(TestSocket):
NoMethodError: undefined methodeach' for nil:NilClass socket/test_socket.rb:202:in
test_accept_loop' -
Error:
test_accept_loop_multi_port(TestSocket):
NoMethodError: undefined methodeach' for nil:NilClass socket/test_socket.rb:222:in
test_accept_loop_multi_port' -
Error:
test_initialize(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
socket/test_socket.rb:39:ingetsockname' socket/test_socket.rb:39:in
block in test_initialize'
socket/test_socket.rb:38:inopen' socket/test_socket.rb:38:in
test_initialize' -
Error:
test_linger(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
socket/test_socket.rb:304:in `test_linger' -
Error:
test_tcp(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
socket/test_socket.rb:79:inblock in test_tcp' socket/test_socket.rb:77:in
open'
socket/test_socket.rb:77:in `test_tcp' -
Error:
test_tcp_server_sockets(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
socket/test_socket.rb:99:in `test_tcp_server_sockets' -
Error:
test_tcp_server_sockets_port0(TestSocket):
NoMethodError: undefined methodeach' for nil:NilClass socket/test_socket.rb:115:in
test_tcp_server_sockets_port0' -
Error:
test_udp_server(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
socket/test_socket.rb:260:in `test_udp_server'
16 tests, 23 assertions, 0 failures, 8 errors, 0 skips
=end