From: Robert Klemme Date: 2005-01-24T03:35:52+09:00 Subject: Re: TCPSocket.new blocks other threads schrieb im Newsbeitrag news:1106498039.209351.9940@f14g2000cwb.googlegroups.com... > hi, > > when trying to connect to an ip address, from within a thread, that > does not exist, using TCPSocket.new(ip, port), it seems that other > threads are blocked until the connection has timed out. This hangs the > entire application for about 20secs. > However i have only noticed this behaviour in windows XP (propably > others too). > > Any known workarounds? > > I tried to find some information on nonblocking io (sockets) with ruby, > but i gave up, > after googling for around an hour..any links would be appreciated > christoph Just a faint hint: I remember having seen something similar some days (or maybe weeks) ago that also involved XP. Can't remember the resolution though. Maybe you just check with ruby-talk. Kind regards robert