|Subject:||Re: There is a sleep() call in idGlobal!|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Tue, 23 Mar 2004|
"Martin James" <mjames_falc…@dial.pipex.com> wrote in message
> What does this method, (esp WSselect) do??
Exactly what the Win32 API Sleep() does. If you look closer, you can see
that IdGlobal.Sleep() is calling Windows.Sleep() under Win32 platforms.
Linux doesn't have a Sleep() function, so Indy is using the socket stack's
WSSelect() function to simulate a Sleep().
> Could Indy please rename this procedure!!!!
You should change your own code to qualify your calls to Sleep() by
prefixing it with the global namespace:
::Sleep(somevalue); // <-- notice the colons
There is a sleep() call in idGlobal! posted by Martin James on Tue, 23 Mar 2004