[PD-dev] [tcpserver]: new 'clientbuf' method seems to be buggy

martin.peach at sympatico.ca martin.peach at sympatico.ca
Mon Apr 6 23:26:04 CEST 2009


Spoke too soon. On Debian setting the buffer to any size always returns me 2048, so that's no good.
On WinXP some values (1,2) do what you said. Others (10,12) don't. I'm not sure what to do about that. It seems to be the OS.

Martin

From: martin.peach at sympatico.ca
To: reduzierer at yahoo.de; pd-dev at iem.at
Date: Mon, 6 Apr 2009 20:33:15 +0000
Subject: Re: [PD-dev] [tcpserver]: new 'clientbuf' method seems to be buggy








Well I'm trying to get rid of the bugs in it...
I don't get that on WinXP though (Pd 0.41.4-extended). I set the buffer to 12 and still received 30 bytes.
On Debian with Pd 0.41.4-extended I get two separate messages (each longer than 12) but still all the data arrives.

Martin


> From: reduzierer at yahoo.de
> To: pd-dev at iem.at
> Date: Mon, 6 Apr 2009 17:38:20 +0200
> Subject: [PD-dev] [tcpserver]: new 'clientbuf' method seems to be buggy
> 
> hi martin
> 
> i reckon, that you're working on tcpserver code these days, at least
> when ever i update mrpeach from svn, the tcpserver.c file is updated. so
> please tell me, if it makes sense at all to currently report bugs.
> 
> after having set the buffersize using the 'clientbuf' messages, message
> to the client, for which the buffersize was set, are truncated. while
> sending 30 byte messages, only 15 bytes are sent, respectively 15 bytes
> are received on the client side.
> 
> please check the attached bug illustration patch
> 
> roman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20090406/5b91f614/attachment.htm>


More information about the Pd-dev mailing list