Ivica Ico Bukvic wrote:
Speaking of tcpserver.c isn't the tcpserver_notify() function making an unsafe outlet_float() call when it is being triggered by an external event (disconnection) which can happen out-of-order and thus potentially causing crashes?
Shouldn't this be wrapped also in a clock_delay()?
No, it's called from a poll routine that Pd calls at a safe time. The disconnect happens asynchronously but Pd checks for activity on that socket with a select() call, which, if it detects a disconnect, results in tcpserver_notify() being called.
Martin