[PD-dev] netsend/netreceive UDP ignore ECONNREFUSED

Miller Puckette msp at ucsd.edu
Tue Mar 26 17:52:33 CET 2019


Incidentally, I get the same behavior (send fails if to a nonexistent local
port, but keeps trying if non-local) on linux.

cheers
Miller

On Tue, Mar 26, 2019 at 05:41:58PM +0100, Dan Wilcox wrote:
> That's good to know.
> 
> I think I have this working. I will do some cleanup and a push, then you can test.
> 
> > On Mar 26, 2019, at 4:43 AM, Christof Ressi <christof.ressi at gmx.at> wrote:
> > 
> > sorry for spamming the list today. @Dan you have probably read this already: https://stackoverflow.com/questions/41231270/econnrefused-errors-on-udp-sendto
> > 
> > turns out that at least on my system (Windows 7) [netsend -u] only closes the socket when sending to a non-reachable port on *localhost*. sending to any other (existing or non-existing) host won't close the socket. this means that there's even less reason to consider this a feature and I'm not sure if there are really any patches out there which depend on this behaviour.
> > 
> > Christof
> 
> --------
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com <http://danomatika.com/>
> robotcowboy.com <http://robotcowboy.com/>
> 
> 
> 

> _______________________________________________
> Pd-dev mailing list
> Pd-dev at lists.iem.at
> https://lists.puredata.info/listinfo/pd-dev






More information about the Pd-dev mailing list