<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Spoke too soon. On Debian setting the buffer to any size always returns me 2048, so that's no good.<br>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.<br><br>Martin<br><br><hr id="stopSpelling">From: martin.peach@sympatico.ca<br>To: reduzierer@yahoo.de; pd-dev@iem.at<br>Date: Mon, 6 Apr 2009 20:33:15 +0000<br>Subject: Re: [PD-dev] [tcpserver]: new 'clientbuf' method seems to be buggy<br><br>
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
Well I'm trying to get rid of the bugs in it...<br>I don't get that on WinXP though (Pd 0.41.4-extended). I set the buffer to 12 and still received 30 bytes.<br>On Debian with Pd 0.41.4-extended I get two separate messages (each longer than 12) but still all the data arrives.<br><br>Martin<br><br><br>> From: reduzierer@yahoo.de<br>> To: pd-dev@iem.at<br>> Date: Mon, 6 Apr 2009 17:38:20 +0200<br>> Subject: [PD-dev] [tcpserver]: new 'clientbuf' method seems to be buggy<br>> <br>> hi martin<br>> <br>> i reckon, that you're working on tcpserver code these days, at least<br>> when ever i update mrpeach from svn, the tcpserver.c file is updated. so<br>> please tell me, if it makes sense at all to currently report bugs.<br>> <br>> after having set the buffersize using the 'clientbuf' messages, message<br>> to the client, for which the buffersize was set, are truncated. while<br>> sending 30 byte messages, only 15 bytes are sent, respectively 15 bytes<br>> are received on the client side.<br>> <br>> please check the attached bug illustration patch<br>> <br>> roman<br></body>
</html>