[PD] netpd server crashes

Roman Haefeli reduzierer at yahoo.de
Sun Sep 7 20:05:30 CEST 2008

hi john

sorry for late reply (i currently only have internet sporadically)

i tried to make a netpd-server based on [tcpserver] from mrpeach instead
of [netserver] from maxlib. it wasn't that straightforward as i thought
in the beginning, because i had to use another library pdstring from
moocow in order to convert string to ascii and vice versa. also i had to
'implement' the FUDI protocol to make the new server behave exactly like
the old one. i was running the new server on netpd.org for testing and
it seemed to work at first glance. BUT: when i tried to upload some
patches to other clients, transmission didn't work at all. it always
stopped at some point. i hadn't the time to figure out, what exactly was
going on, so i just switched back to the old server (netpd-server.pd).

you'll find all the different servers on:


right now, don't use 'netpd-server-tcpserver.pd', which is unfortunately
broken. the other ones are based on [netserver] and might crash after a
while, but at least the seem to fully work beside that.


just for your information:
i am not happy about the 'proprietary' FUDI based protocol, that netpd
uses right now. we (eni and me) are trying to port netpd to plain OSC
protocol. therefore i implemented an OSC proxy server in pd. it is
currently running on netpd.org on the port 8003. what it does is simply
forwarding OSC packets to all/specific clients according to the first
field in the OSC address pattern. if everything is going to work well,
netpd will use OSC in the future (i hope this makes it easier to connect
netpd with other projects). you'll find the specs on:

http://www.netpd.org/server (lower section)


On Thu, 2008-09-04 at 15:01 -0500, John Harrison wrote:
> Roman I haven't checked out the server yet. :-( Is it working for you?
> Also will there be a live patch jam this coming Tues CEST 22:00? I
> couldn't find it on the website. If it is happening, I'll gear up some
> people for it.
> -John
> Roman Haefeli wrote: 
> > On Fri, 2008-08-08 at 08:25 -0500, John Harrison wrote:
> >   
> > > My interest has been piqued by netpd and a bunch of us here have been 
> > > playing with it. It's pretty fantastic --- there's only one caveat, 
> > > which is that the netpd server crashes and pretty easily at that. I've 
> > > seen the netpd.org server crash a bunch of times now. I downloaded and 
> > > installed the server patch on an ubuntu Gutsy machine and that crashes 
> > > similarly. I looked at the patch --- nothing too complex. I suspect 
> > > there is nothing wrong with the patch itself.
> > > 
> > > I'm suspecting the problem is with netserver, written by Olaf Matthes . 
> > > I suspect this because netsend~ and netreceive~ crash in my use in 
> > > similar ways to what I am seeing now with netpd --- Olaf Matthes wrote 
> > > those too. I was wondering if anybody could confirm or refute that 
> > > netserver is what is crashing netpd. It would be great if we fixed this. 
> > > In general I think we have a problem with some externals involving 
> > > network communication and if we fixed this in several of the externals 
> > > maybe we would solve a bunch of problems at once. I might be up for a 
> > > shot at it myself.
> > > 
> > > -John
> > >     
> > 
> > hi john
> > 
> > i made a new server patch, this time based on [tcpserver]. this one is
> > also much cleaner than the old one. unfortunately it requires also
> > [any2string] and [string2any] from pdstring from moocow. 
> > 
> > you'll find the patch (and also the older versions) on:
> > 
> > http://www.netpd.org/server
> > 
> > i am currently running this one on netpd.org and i am interested to see,
> > whether it is possible to crash it or not. it would be good to have any
> > feedback from you as well.
> > 
> > roman
> > 
> > 
> > 
> > 	
> > 		
> > ___________________________________________________________ 
> > Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
> > 
> > 
> >   
> -- 
> John Harrison
> http://alumni.media.mit.edu/~harrison

Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

More information about the Pd-list mailing list