Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Mabry Socket/X control from vfp
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00518847
Message ID:
00524033
Views:
21
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform