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...... ------------------------------------------------------------------------ paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this thread: http://forums.slimdevices.com/showthread.php?t=97046 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
