[PD] udp string syntax for netreceive

Miller Puckette mpuckett at man104-1.ucsd.edu
Thu Mar 21 23:22:50 CET 2002

Hi Dan,

I fixed a pretty serious bug in UDP reception in Pd (it crashed Pd
randomly.)  So you should definitely try getting it to run with the
newest version.

Make sure messages are terminated with carriage return ('\n'), as

sprintf(command, "got da grapes;\n");

That's how Pd convinces itself now that UDP didn't get a truncated


On Thu, Mar 21, 2002 at 04:21:12PM -0500, Dan Neveu wrote:
> well, I had beautiful udp communication working from my CAVE vr application
> to my Pd patch using a fairly generic c++ udp socket class. That was with
> ver0.34-3. I upgraded to 0.34.4 and subsequently, 0.35test11, both of
> which I lost my networking capability (Pd to Pd communication still works).
> This is also aside from the netreceive behavior change from new to old, back
> to new again, for which I've tested for both. 
> my udp send call is simply:
> socket->send(command, strlen(command)); 
> ...where command has the string format <message parameter;>
> has there been some fundamental change here?
> thanks,
> dan

More information about the Pd-list mailing list