You misread the documentation. Note that it states that it is not illegal (that means that "it can"), but it's of little use (that means "why would you do such a thing?"). If you set the socket in non-blocking mode, how do you expect to get a timeout?
Regarding the specific problem, you should probably post a relevant chunk of code.
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
Don't fool yourself.