>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.comInternet 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!