Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSWINSOCK Senddata() corrupts data
Message
De
10/06/2001 17:05:16
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
MSWINSOCK Senddata() corrupts data
Divers
Thread ID:
00517571
Message ID:
00517571
Vues:
71
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform