in reply to IO::Socket::Unix,message type and Connection Reset
Now, after some debugging I discovered that my testing program crashed when the connection was reset by the peer, is there anyway to reconnect to an unix socket after the connection has been reset and do so without crashing?
What does "crash" mean, do you mean die? You can catch those with eval
or should I just take care of not sending to much data at the same time?
:) sure why not
And last but not least, since I am going to use that message passing daemon to carry serialized objects around is SOCK_STREAM a bad idea?
:) I don't know, but I'm curious why not start a little higher up, say Net::Server...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: IO::Socket::Unix,message type and Connection Reset
by QuillMeantTen (Friar) on Aug 26, 2015 at 07:49 UTC |