Hi,
I found a critical bug in the send and receive stream methods in both
the current stable version and the trunk.
In the recvstream method, it is using the recvinteger method, but the
sendstream method is not using the sendinteger method.
I could not get my code to work until I did this in the sendstream method:
if yr > 0 then
begin
SetLength(s, yr);
if WithSize and b then
begin
b := false;
sendinteger(l); //<---Change
SendString(s);//<----Change
end
else
SendString(s);
prior to this it was doing a sendstring to send the size and it was just
not working.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public