ah ha! that's may be the root of tcp's and http's bugs as well! i had to switch back to 1.6.7 becasue of them. (linux though) On Tue, 2002-09-10 at 13:04, Danny van Bruggen wrote: > Hello all, > > This code fails on WindowsInstallerRuby > ruby 1.7.2 (2002-07-02) [i386-mswin32] > with > [BUG] rb_sys_fail() - errno == 0 > but runs on > ruby 1.6.6 (2001-12-26) [i486-linux] > without a problem. > > Bug? Well, it says so :) > > Danny > > ----- > require 'socket' > server=UDPSocket.open > server.bind(nil, 50403) > client=UDPSocket.open > client.connect('127.0.0.1', 50403) > puts 'works:' > client.send('12345',0) > server.recvfrom(5) > puts 'fails:' > client.send('123456789',0) > server.recvfrom(5) > ----- > > -- tom sawyer, aka transami transami / transami.net