in reply to IO::Socket::UNIX unexpected death
the writer dies, without any message, explanation or exception
Did you tried trapping signal SIGPIPE?
Vivek
-- 'I' am not the body, 'I' am the 'soul', which has no beginning or no end, no attachment or no aversion, nothing to attain or lose.
Did you tried trapping signal SIGPIPE?
I have not found a way in the writer to check if the socket is still usable. Is there something I can use for this purpose?
eof might help you to find out whether the filehandle is closed or open, before doing further write on the filehandle
Vivek
-- 'I' am not the body, 'I' am the 'soul', which has no beginning or no end, no attachment or no aversion, nothing to attain or lose.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: IO::Socket::UNIX unexpected death
by lom (Sexton) on Jun 30, 2009 at 11:37 UTC |
In Section
Seekers of Perl Wisdom