This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: EAGAIN Error while processing a batch of transaction messages.
- From: Warren Young <warren at etr-usa dot com>
- To: Cygwin-L <cygwin at cygwin dot com>
- Date: Tue, 27 Mar 2007 23:36:53 -0600
- Subject: Re: EAGAIN Error while processing a batch of transaction messages.
- References: <927392.20565.qm@web7609.mail.in.yahoo.com>
neo napster wrote:
My applications want to process messages in Block mode
so i am using NOWAIT option.
You've just contradicted yourself. NOWAIT means non-blocking. If you
want your program to block, waiting for messages, you don't set the
NOWAIT option... you wait. That's what blocking means.
If you do indeed want to do non-blocking, then EAGAIN is *absolutely
normal*. It's supposed to do that.
Get a book on Unix network programming, and take the problem up on a
Unix network programming mailing list. This is not a Cygwin issue.
This is a newbie programmer issue.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/