Re: [PD] ugly "already connected" errors

2019-01-26 Thread Christof Ressi
> An: "Roman Haefeli" > Cc: Pd-List > Betreff: Re: [PD] ugly "already connected" errors > > > The key is that you send something between deletion > > and recreation. > > I do! > > > BTW, that's on Linux, maybe other platforms behave di

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Christof Ressi
um 23:48 Uhr > Von: "Roman Haefeli" > An: pd-list@lists.iem.at > Betreff: Re: [PD] ugly "already connected" errors > > On Fri, 2019-01-25 at 22:44 +0100, Christof Ressi wrote: > > > From reading a bit more about protocols, particularly about ICMP > > &g

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Roman Haefeli
On Fri, 2019-01-25 at 22:44 +0100, Christof Ressi wrote: > > From reading a bit more about protocols, particularly about ICMP > > [1], I > > think what happens is that the receiving host sends a ICMP error > > packet > > to the sending host, telling that the destination port is > > unreachable. >

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Christof Ressi
111)'). that's true. I have observed this too. Christof > Gesendet: Freitag, 25. Januar 2019 um 22:25 Uhr > Von: "Roman Haefeli" > An: "Christof Ressi" > Cc: pd-list@lists.iem.at > Betreff: Re: Aw: Re: [PD] ugly "already connected" errors &

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Roman Haefeli
On Fri, 2019-01-25 at 21:09 +0100, Christof Ressi wrote: > > the sender socket is in some cases > > notified about the termination of the receiving socket. > > this what happens in Pd with [netsend -u], but it's *not* what one > would expect from UDP. on all the socket libraries I've used, > "conn

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Christof Ressi
ised to look at the code and find out what's really going on in [netsend -u] but I didn't have time yet :-( Christof > Gesendet: Freitag, 25. Januar 2019 um 15:35 Uhr > Von: "Roman Haefeli" > An: pd-list@lists.iem.at > Betreff: Re: [PD] ugly "alrea

Re: [PD] ugly "already connected" errors

2019-01-25 Thread michael strohmann
Thanks for looking into this. The listener is an app called Lemur which receives and sends OSC messages . I don’t know too much about the workings of this app though... > Am 25.01.2019 um 15:35 schrieb Roman Haefeli : > > What you found, challenged my understanding of UDP and it seems, > depen

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Roman Haefeli
What you found, challenged my understanding of UDP and it seems, depending on implementation, the sender socket is in some cases notified about the termination of the receiving socket. When I connect [netsend -u] to a small python script that opens a listening socket, i can kill the script and st

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Roman Haefeli
On Fri, 2019-01-25 at 15:01 +0100, michael strohmann wrote: > thanks for the answer! > but, > in order to show that there is a connection betwenn the app to pd i > do: > > [metro 1000] > > > > [toggle( > > > > [oscformat BlinkingButton/value] > > > > [l

Re: [PD] ugly "already connected" errors

2019-01-25 Thread michael strohmann
thanks for the answer! but, in order to show that there is a connection betwenn the app to pd i do: [metro 1000] | [toggle( | [oscformat BlinkingButton/value] | [list prepend send] | [list trim] |\ | [t b] | | | [disconnect, connect 19

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Roman Haefeli
On Fri, 2019-01-25 at 11:31 +0100, michael strohmann wrote: > > 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

Re: [PD] ugly "already connected" errors

2019-01-25 Thread Antoine Rousseau
Yes, do disconnect each time before re-connecting. This shouldn't hurt. Antoine Rousseau http://www.metalu.net __ http://www.metaluachahuter.com/ Le ven. 25 janv. 2019 à 11:31, michael strohmann a écrit : > hi! > > i

[PD] ugly "already connected" errors

2019-01-25 Thread michael strohmann
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