Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best wait state.
Message
From
21/07/2003 13:20:33
 
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00812017
Message ID:
00812069
Views:
17
>Chuck,
>
>You can try a Sleep() api call in your loop:
>
>
>declare integer Sleep in win32api integer iMilliseconds
>
>DO WHILE oWinsock.State <> 7
>   sleep( 1000 ) && set this value as appropriate for your delay time needed
>   DOEVENTS
>ENDDO
>
>

That doesn't work for me because I'm waiting for the DataArrival event from the winsock control and the Sleep API seems to put winsock to sleep too.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Reply
Map
View

Click here to load this message in the networking platform