Hi Monks, I have a question about sockets. I have a tcp/ip client that is using non-blocking socket object and IO::Select object to read and write when it is good time for it. I was wandering what would an ideal timeout time for can_read() and can_write() be. I would like to report immediately when the connection is bad. I am doing the following at the moment:
The environment where I will be using this client is Wireless 11mbs network.
I noticed that some times although the remote host is not offline - the 0.3 timeout looks too little.