[PD] netreceive: how to have parameterized port numbers?

Olaf Matthes olaf.matthes at gmx.de
Wed May 4 09:54:44 CEST 2005


IOhannes m zmoelnig wrote:

> Hans-Christoph Steiner wrote:
> 
>>
>> [netclient]/[netserver] allow multiple, two-way connections, so it  
>> might eliminate the need for dynamic port numbers.
>>
> 
> yes, but you need maxlib.
> 
> currently there is no way to simply disconnect/reconnect on the 
> receiver-side.
> dunno why though

technically speaking because the socket get's opened in the new() 
routine. There is nothing against moving it into a separare routine and 
make it accessable from outside. But then, what happens to netsend 
objects, that still are connected to a netreceive that changes it's port?

Olaf





More information about the Pd-list mailing list