[PD] xnetreceive

Martin Peach martinrp at vax2.concordia.ca
Thu May 6 19:56:02 CEST 2004


Jorge Cardoso wrote:
> Hi,
> 
> I have made an external (xnetreceive - eXtended netreceive)
> that acts like netreceive with two new outlets: ip address and port number.
> It is based on the [netreceive] and [netserver] objects (and source code!).
> 
> I have used this to exchange info between java applets and PD.
> [netreceive] doesn't output the ip address, and [netserver] only 
> works for TCP connections and I needed both...
> 
> The external is compiled for windows only (I don't have access
> to a Mac or Linux box). If anyone would care to (try) to compile
> it for other platforms I would be much appreciated.

Looks good!
I just changed it a bit (see attached xnetreceive.c) and used this 
makefile with it under suse7.2.
You need to set the INCLDUE path in the makefile to point to your pd source.
Probably the makefile is not optimal (doesn't install or clean) but it 
works OK when you run pd from the same directory as xnetreceive.pd_linux.


Martin
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: makefile
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20040506/6366ef8c/attachment.asc>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: xnetreceive.c
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20040506/6366ef8c/attachment.txt>


More information about the Pd-list mailing list