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@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-send...
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@lists.iem.at https://lists.puredata.info/listinfo/pd-dev