Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MSWINSOCK Senddata() corrupts data
Message
From
10/06/2001 17:05:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
MSWINSOCK Senddata() corrupts data
Miscellaneous
Thread ID:
00517571
Message ID:
00517571
Views:
70
I'm using ms winsocket activex control senddata() method
to send to send binary data to tcp port.

I discovered that if packet contains zero bytes
(chr(0)s) this packet is not sent properly:
some zeroes in received packet are replaced with some other random
bytes. Those replacements seems to be random: sending same packets
again and again causes different corruptions.
However, correct packet is never received.
If packet doesn't contain 00s, it is sent properly.

Is it possible to fix this bug or use some other program to send
data to tcp port: how to call wininet.dll directly or is there
some other ways to send/receive data through tcp ports ?
Andrus
Next
Reply
Map
View

Click here to load this message in the networking platform