[Ace-users] Reading from ACE_HANDLE with time out
shahar.valdman at gmail.com
Wed Oct 17 07:04:04 CDT 2007
On Oct 17, 1:28 pm, schm... at dre.vanderbilt.edu (Douglas C. Schmidt)
> Hi Shahar,
> >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
> or 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.schm... at vanderbilt.edu
Thanks for your quick reply. I have searched for documentation on the
issue but couldn't find any. I have searched with The Ace programmer's
guide and with some online documentation from vanderbilt uni. Is there
another recommended site/book i may use for documentation search?
More information about the Ace-users