http://www.perlmonks.org?node_id=1004518


in reply to Re: Bad file Descriptor issue in IO::Socket::INET
in thread Bad file Descriptor issue in IO::Socket::INET

Hi..roboticus
Thanks for quick reply.

I can show the code but it is too long. This script generates service build using perlsvc. It is written in perl. The code I mentioned checks the port checking if this port is active.

  • Comment on Re^2: Bad file Descriptor issue in IO::Socket::INET

Replies are listed 'Best First'.
Re^3: Bad file Descriptor issue in IO::Socket::INET
by marto (Cardinal) on Nov 19, 2012 at 11:36 UTC

    "I can show the code but it is too long."

    Create a short script which purely reproduces the problem you are experiencing. How do I post a question effectively?. Earlier:

    "It was working fine before then I did some changes to it and rebuild this"

    What have you done to determine if the code change introduced this problem? Basic debugging checklist