Project

General

Profile

Actions

Bug #714

closed

Socket bug in Ruby-mswin32

Added by phasis68 (Heesob Park) over 15 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
[ruby-core:19713]

Description

=begin
All 1.8.6/1.8.7 releases in http://www.garbagecollect.jp/ruby/mswin32/en/download/release.html and also One-Click Installer since 1.8.6 fail to work

s = Socket.new(Socket::AF_INET, Socket::SOCK_RAW,1)

like this:

irb(main):001:0> require 'socket'
=> true
irb(main):002:0> s = Socket.new(Socket::AF_INET, Socket::SOCK_RAW,1)
(irb):3: [BUG] rb_sys_fail(socket(2)) - errno == 0
ruby 1.8.6 (2008-08-11) [i386-mswin32]

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

irb(main):001:0> require 'socket'
=> true
irb(main):002:0> s = Socket.new(Socket::AF_INET, Socket::SOCK_RAW,1)
(irb):2: [BUG] rb_sys_fail(socket(2)) - errno == 0
ruby 1.8.7 (2008-08-11 patchlevel 72) [i386-mswin32]

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

I suspect it is related with USE_WINSOCK2 macro or --with-winsock2 build option.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0