Re: Receiving data with size not multiple of 8 bytes
by "Bo Rydberg" <bo nospace l nospace ry.hot@[EMAIL PROTECTED]
>
Oct 26, 2004 at 09:15 PM
Hi Cristian,
Try iReceivedData->Des().SetLength(iRecvSize) followed by creating your
own
TPtr8 from your iReceiveData setting its maximum length to iRecvSize.
After
Recv completes everything should be correct.
Alternative:
There should also be a version of Recv that takes a maximum length
parameter
for you but I'm not able to check that.
--
Regards // Bo