[PD-dev] networking updates

Lucas Cordiviola lucarda27 at hotmail.com
Mon Aug 12 01:37:03 CEST 2019


also with Pd 0.50 <-> Pd 0.49 and Pd 0.50 <-> [some other IPv4-only endpoint]!

Been testing 0.50 (win & linux) <-> 0.49(win) & UDP Terminal (android).

It's working nice.

:)

Mensaje telepatico asistido por maquinas.

On 8/11/19 9:03 AM, Christof Ressi wrote:
> The overall approach taken is to keep IPv4 as default and detect IPv6 addresses so this should not affect existing patches

We've tried hard to maintain backwards compatibility with existing IPv4-only endpoints, so please don't only test with Pd 0.50 <-> Pd 0.50 but also with Pd 0.50 <-> Pd 0.49 and Pd 0.50 <-> [some other IPv4-only endpoint]!

Christof


Gesendet: Sonntag, 11. August 2019 um 03:49 Uhr
Von: "Dan Wilcox" <danomatika at gmail.com><mailto:danomatika at gmail.com>
An: pd-dev <pd-dev at lists.iem.at><mailto:pd-dev at lists.iem.at>
Betreff: [PD-dev] networking updates
Howdy all,

Christoph and I have more or less finished some work that updates Pd's networking and also fixes some  bugs and a couple pain points:

* IPv6 support
* multicast
* netsend: optional from hostname & port outlet
* netsend: connectionless UDP, no more connection refused (fire & forget without having to manually reconnect)
* netreceive: settable timeout which defaults to 10 seconds (no more super-long frozen Pd)
* improved error printing with netsend and netrceive Find Last Error support
* various small bug fixes (no more polling errors after socket is closed)

The pdsend & pdreceive utils are similarly updated.

The discussion & pull request on Github: https://github.com/pure-data/pure-data/pull/577

If you can build Pd and want to try this out, the branch is called feature/netobject-updates

The overall approach taken is to keep IPv4 as default and detect IPv6 addresses so this should not affect existing patches. The IP version handling should also degrade gracefully based if IPv6 is not available. An added bonus is hostnames now resolve (ie. google.com<http://google.com>) and you can also listen on a hostname if your system can grab it (ie. computername.local).

One current limitation is that Tcl 8.5 does not have IPv6 support, so the core communication with the GUI remains IPv4.

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



N�n�r����)em�h�yhiם�w^���
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20190811/a713b957/attachment-0001.html>


More information about the Pd-dev mailing list