Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing string beginning with chr(0) to winsock
Message
De
20/03/2001 15:07:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Passing string beginning with chr(0) to winsock
Divers
Thread ID:
00486969
Message ID:
00486969
Vues:
37
If i create a string with:
ctest=chr(0)+chr(1)
and use the winsock with
thisform.sock.senddata(ctest)
the networkmonitor shows me that the winsock sends 00 00 =chr(0)+chr(0)

if i create the string like
ctest=chr(1)+chr(0)+chr(1) and send it
the networkmonitor shows the right result 01 00 01 = chr(1)+chr(0)+chr(1)

is it necesarry to define ctest before passing it to winsock?
Répondre
Fil
Voir

Click here to load this message in the networking platform