[Ace-users] Reading from ACE_HANDLE with time out

shahar valdman shahar.valdman at gmail.com
Wed Oct 17 04:55:08 CDT 2007

Hello everybody,

I have been trying to use the ACE_OS::read and ACE::recv functions to
read from an ACE_HANDLE with a timeout so i dont hang if there is
nothing to read. The handle i am using comes from ACE_OS:pipe on
windows and ACE_Pipe on unix.
I was unable to understand which versions of ACE:recv i should use on
which platform (i noticed that there's a difference regarding these
functions - i believe they may use read for files or sockets
reference). i noticed some reference to the issue on the web, but
still did not understand what to use when.
i would appreciate any help.


More information about the Ace-users mailing list