Bug #1608
closedeinval in getsockname (windows)
Description
=begin
Sorry for the flood--almost got them all :)
-
Error:
test_initialize(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:39:ingetsockname' c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:39:in
block in test_initialize'
c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:38:inopen' c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:38:in
test_initialize' -
Error:
test_linger(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:135:insetsockopt' c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:135:in
listen'
c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:304:in `test_linger' -
Error:
test_tcp_server_sockets(TestSocket):
Errno::EINVAL: Invalid argument - getsockname(2)
c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:135:insetsockopt' c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:135:in
listen'
c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:363:inblock in tcp_server_sockets' c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:157:in
each'
c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:157:inforeach' c:/dev/downloads/ruby_trunk/.ext/common/socket.rb:361:in
tcp_server_sockets'
c:/dev/downloads/ruby_trunk/test/socket/test_socket.rb:99:in
`test_tcp_server_sockets'
=end