[PD] ugly "already connected" errors

michael strohmann itsnotfair9 at gmail.com
Fri Jan 25 11:31:48 CET 2019


i need to send OSC messages to a number of smartphones via UDP.
the phones are used as remote controls for the patch, so i send the status of the patch to the phones every second.
since the phones are sometimes out of WLAN reach or switched off, i send a [connect( message to [netsend] every second to keep in touch.
and i get loads of “already connected” errors.

this might have caused to fill up the ram on the raspi on which pd runs, so i sent stderr to devnull.

still, do you think it is better to disconnect every time before connecting, or might this cause some other problems?


More information about the Pd-list mailing list