[PD] udp string syntax for netreceive

Dan Neveu neveu at acsu.buffalo.edu
Fri Mar 22 05:54:33 CET 2002


That was it. Back in business.

thanks,
dan

On Thu, 21 Mar 2002, Miller Puckette wrote:

> 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
> in,
> 
> sprintf(command, "got da grapes;\n");
> 
> That's how Pd convinces itself now that UDP didn't get a truncated
> packet.
> 
> cheers
> Miller
> 
> 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