Well, don't know what to do in that case. I would also check if this problem happens from the first chr(0) sent, or after a certain amount of char(0)? Also, it is possible that the control sees the chr(0) as binary, while you're trying to send strings...Sorry i can't be more helpful.
>
If packet doesn't contain chr(0)s, all is OK.
>If packed contains chr(0)s, some of them are replaced with random characters.
>
>>Let me understand: if you don't send chr(0), is the data correct, or is it also corrupted?
>>
>>>Thank you, this code sends and receives data.
>>>However, it corrupts data! I always got back some other characters than
>>>zeroes: an Error text is produces by this program.
>>>If I change CHR(0) to some other character, for example
>>>
>>>cBuffer = REPLICATE( CHR(1), 100 )
>>>
>>>Is it possible to send 00 characters without data corruption ?
Why do programs stop working correctly as soon as you leave the Fox?