[Ace-users] [ace-users] Reading from ACE_HANDLE with time out
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Wed Oct 17 06:28:27 CDT 2007
>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.
To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form
(PRF), which is in
in older versions of ACE+TAO. Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness. If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
>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.
Please take a look at the documentation for the methods - it should
explain how to use this stuff.
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.schmidt at vanderbilt.edu
More information about the Ace-users