Hello, im using pd-0.36(likely from ccrma) on a redhat9, and netsend doesnt handle SIG_PIPE. so if i connect a pd patch to another program via netsend and the network connection between the two is lost, puredata crash because of SIG_PIPE. i think it would be good not to have pd crashing because of a very remote network problem. is there a puredata version with a better handling of network connection ? is it valuable for others if i write and send the patch ?
Jerome Etienne schrieb:
is there a puredata version with a better handling of network connection ? is it valuable for others if i write and send the patch ?
I think you just have to replace the last parameter (which is now 0) ind the send() calls in netsend with MSG_NOSIGNAL. This will prevent Pd from getting signalled in case netsend fails. This fix only seems to be needed on Linux. That's at least the fix I had to add to flashserver.
Olaf