Issue #4387 has been updated by ko1 (Koichi Sasada).

Assignee set to naruse (Yui NARUSE)

茯違??若????ゃ???????≪??????菴激?c?????с?????鐚??????????????荅潟?????????????????????????????障?????鐚?
??????鐚?????????????鴻????с???????????鐚?
----------------------------------------
Bug #4387: test_socket_connect_nonblock(TestSocketAddrinfo) ?????障????紊?????????
https://bugs.ruby-lang.org/issues/4387#change-31730

Author: kosaki (Motohiro KOSAKI)
Status: Feedback
Priority: Normal
Assignee: naruse (Yui NARUSE)
Category: core
Target version: 2.0.0
ruby -v: ruby 1.9.3dev (2011-02-09 trunk 30831) [i386-mswin32_100]


=begin
 鐚???蚊??????????腆??????test-all???篁ヤ???????若??????????障??
 
  57) Error:
 test_socket_connect_nonblock(TestSocketAddrinfo):
 Errno::EINVAL: Invalid argument - connect(2)
     C:/ruby/trunk/test/socket/test_addrinfo.rb:163:in `connect_nonblock'
     C:/ruby/trunk/test/socket/test_addrinfo.rb:163:in `rescue in test_socket_con
 nect_nonblock'
     C:/ruby/trunk/test/socket/test_addrinfo.rb:158:in `test_socket_connect_nonbl
 ock'
 
 
 ???????OS???????с?? WSAGetLastError() ??? WSAEINVAL???菴??????????障?????
 
 MSDN??????????????c?純????????????????ゃ???????????≪??????????????
 http://msdn.microsoft.com/en-us/library/ms737625(v=vs.85).aspx
 
 WSAEALREADY: A nonblocking connect call is in progress on the specified socket.
              Note  In order to preserve backward compatibility, this error is reported as
              WSAEINVAL to Windows Sockets 1.1 applications that link to either Winsock.dll or
              Wsock32.dll.
 WSAEINVAL: The parameter s is a listening socket.
 
 ??????????с??
  o select???罩c???????????????????????connect絎?篋????????????????????????c?????障?????с??connect???EINVAL???菴???????????
  o select???<??????????????????????????connect??????????????c??EISCONN???菴??????????EINVAL???菴???????????
 
 ?????????????с???????????<??????????????????????с????障???????с????????茯違??????罅????????????井????????????????????
 
 
 ??????????????с??≪????с?????????ゃ??茯炊?糸?怨??????
 
 w3c???http???泣?潟?????潟?若?????????EINVAL???EISCONN????膈?????????????????????????c?????障?????
 http://www.w3.org/Library/src/HTTCP.c
 
 NetBSD???connect???????EINVAL???菴???????????????c??????????с????????????絲上???????????????????????????障???????с?????
 http://mail-index.netbsd.org/netbsd-bugs/2003/08/18/0002.html
 ??? ???????怨???????? Kambe??????
 
 ruby-talk??с???????c?純??荅宴???????????????違????帥?ゃ????????с?????????????<?????腟?茫????????????????
 http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/16632
=end



-- 
http://bugs.ruby-lang.org/