in reply to make my code non block

Read the CPAN doc: http://search.cpan.org/~gbarr/IO-1.2301/IO/Socket/INET.pm

Cheers
Chris