Overview
Features
Download
Documentation
Community
Add-Ons & Services

how to provide sleep/ usleep functionality in poco

A general discussion forum.

how to provide sleep/ usleep functionality in poco

Postby pocouser » 13 Aug 2008, 10:37

I am writing a server/client code using sockets i to add delay of few miliseconds after connect and before send/recv starts which class or function in poco provides delay functionality like sleep()/usleep() in Linux
Thanks
pocouser
 
Posts: 6
Joined: 13 Aug 2008, 09:32

Re: how to provide sleep/ usleep functionality in poco

Postby guenter » 13 Aug 2008, 11:08

See

Code: Select all

static Poco::Thread::sleep(long milliseconds);


regards,

Günter

guenter
 
Posts: 1092
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: how to provide sleep/ usleep functionality in poco

Postby pocouser » 18 Aug 2008, 08:49

thanks its working...
pocouser
 
Posts: 6
Joined: 13 Aug 2008, 09:32


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest