paul- wrote: > A Followup to the loss of network connection causing a crash. > > I did a little reading on the send() command. When the network > connection drops, this command is throwing a SIGPIPE signal (It must not > be returning a -1 as a failure). I added SIGPIPE to the signalhandler, > and it is catching the signal. And in-fact squeezlite no longer crashes > when the network comes backup. So the problem right now, is how to > restart the connection and re-open the socket. > > Hope this helps out......
Thanks for this - yes that case looks to be handled badly at present... All my linux machines are headless so I haven't really seen this before as I can't kill the network without loosing contact. I'll look into this. ------------------------------------------------------------------------ Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
