Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pb using Winsock in UDP
Message
De
05/08/2002 05:27:45
Roman Segaud
Laboratoires Fortepharma
Nice, France
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Pb using Winsock in UDP
Divers
Thread ID:
00686108
Message ID:
00686108
Vues:
73
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 ?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform