Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing string beginning with chr(0) to winsock
Message
From
20/03/2001 15:07:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Passing string beginning with chr(0) to winsock
Miscellaneous
Thread ID:
00486969
Message ID:
00486969
Views:
36
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?
Reply
Map
View

Click here to load this message in the networking platform