Re: [PD-dev] networking updates

2019-08-11 Thread Lucas Cordiviola
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" 
An: pd-dev 
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) 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
danomatika.com
robotcowboy.com

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



N�n�r)em�h�yhiם�w^���
___
Pd-dev mailing list
Pd-dev@lists.iem.at
https://lists.puredata.info/listinfo/pd-dev


Re: [PD-dev] networking updates

2019-08-11 Thread Lucas Cordiviola
On 8/10/19 10:49 PM, Dan Wilcox wrote:
>
> If you can build Pd and want to try this out, the branch is called 
> feature/netobject-updates


When trying to build this one I get:

u_pdsend.c:14:10: fatal error: s_net.h: No such file or directory
  #include 
   ^
compilation terminated.
make: *** [makefile.gnu:170: ../bin/pdsend] Error 1

I'm on linux, using the package downloaded as zip from: 
https://github.com/pure-data/pure-data/tree/feature/netobject-updates


--

Mensaje telepatico asistido por maquinas.





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


Re: [PD-dev] networking updates

2019-08-11 Thread Christof Ressi

> 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" 
An: pd-dev 
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) 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

danomatika.com

robotcowboy.com

 


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







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


Re: [PD-dev] networking updates

2019-08-11 Thread Dan Wilcox
Ah whoops. I meant to write "Christof."

> On Aug 11, 2019, at 3:49 AM, Dan Wilcox  wrote:
> 
> 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:


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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