From: Heesob Park Date: 2008-11-07T23:08:11+09:00 Subject: [ruby-core:19723] [Bug #714] Socket bug in Ruby-mswin32 Issue #714 has been updated by Heesob Park. Here is a patch for 1.8.6-p114 --- win32.c 2008-11-07 23:00:01.000000000 +0900 +++ win32.c.new 2008-11-07 23:03:26.000000000 +0900 @@ -2450,6 +2450,8 @@ out = WSASocket(af, type, protocol, &(proto_buffers[i]), 0, 0); break; } + if(out==INVALID_SOCKET) + out = WSASocket(af, type, protocol, NULL, 0, 0); } free(proto_buffers); ---------------------------------------- http://redmine.ruby-lang.org/issues/show/714 ---------------------------------------- http://redmine.ruby-lang.org