General information
Category:
ActiveX controls in VFP
Title:
Pb using Winsock in UDP
Hi,
I've got trouble using Winsock.ocx in UDP mode, I sent a 60 long string using Commview and receive only a 13 long string.
My init :
with this.olecontrol && ( MS. Winsock)
.Protocol = 1 &&UDP
.LocalPort = 11020
.bind(11020,"192.168.0.1")
endwith
In DataArrival event, I use this.GetData( @lcData, ,nBytesTotal) and m.lcData is only 13 long with a string completly different.
Where is the problem ?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only