On Sun, Sep 01, 2002 at 06:02:35AM +0900, mike yin wrote:
> 
> Dear guys:
>  
> I hope you can tell me why I can't use TCPSocket implementing server/client
> application in win32 network environment.
>  
> When both server and client are under irb, they work well. But in server.rb/
> client.rb form, just when connecting, the client get an exception as: 'No
> connection could be made because the target machine actively refused it. -
> "connect(2)" (Errno::E10061)'

Are you sure that the server.rb is:
a) running before client.rb runs
b) has time to establish the socket before client.rb tries to connect?

-- 
Alan Chen
Digikata LLC
http://digikata.com