Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simulate the asynchronous mode with winsock
Message
 
À
28/04/2004 14:18:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00899059
Message ID:
00899415
Vues:
15
>i have built client-server with winsock object. i want vfp to have the same behaviour as it meets a =requery() function. i mean, vfp stops the execution of the program codes and wait until the vue send back datas.
>how can i do the same thing with winsock to send and receive datas as vfp doesn't wait when running the receive and send lines ?

You will need to use flags and just put points in your code that handle the pause and resume based on the setting of the flags.
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform