prashantktyagi has asked for the wisdom of the Perl Monks concerning the following question:
I am using IO::Socket::INET in one of my server application. It was working fine before then I did some changes to it and rebuild this.
Secondly this machine has been re-imaged once too.
After that I am getting issue (not always)randomly while using this service on below line.
IO::Socket::INET->new ( LocalPort => $port, Listen => 1 ); I debuged this and got this error strings.. $!--Bad file descriptor, $^E--An operation was attempted on something +that is not a socket.
However strange thing is I am getting this issue randomly.
Please suggest me.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Bad file Descriptor issue in IO::Socket::INET
by roboticus (Chancellor) on Nov 19, 2012 at 11:05 UTC | |
by prashantktyagi (Scribe) on Nov 19, 2012 at 11:31 UTC | |
by marto (Cardinal) on Nov 19, 2012 at 11:36 UTC | |
|
Re: Bad file Descriptor issue in IO::Socket::INET
by zentara (Cardinal) on Nov 19, 2012 at 12:21 UTC |