Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pb using Winsock in UDP
Message
From
05/08/2002 05:27:45
Roman Segaud
Laboratoires Fortepharma
Nice, France
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Pb using Winsock in UDP
Miscellaneous
Thread ID:
00686108
Message ID:
00686108
Views:
71
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
Map
View

Click here to load this message in the networking platform