Yes, do disconnect each time before re-connecting. This shouldn't hurt.



Le ven. 25 janv. 2019 à 11:31, michael strohmann <itsnotfair9@gmail.com> a écrit :
hi!

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?

cheers!
mkl


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list