BTW: I have acomplished it successfully with VB in same way.
Vangoph
2000.3.16
I too had problems implementing the Winsock control in VFP after writing a
successful program in VB
Try the following code in the DataArrival event
sdata = ""
sckServer.getdata(@sdata,8,bytestotal)
this works for me!
Hope this helps
Anthony
凡高 <van...@sina.com> wrote in message news:#xXxjd7j$GA.189@cppssbbsa04...