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)’
The server.rb/client.rb are as follows:
What’s the problem? what should I use for server/client application in win32 then?
Thank you very very much.