Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Passing string beginning with chr(0) to winsock
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement