This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: EAGAIN Error while processing a batch of transaction messages.


Thanks immediate response. 
I am soory for that, we did not use NOWAIT option,
then can i know why we will get this error? 


----- Original Message ----
From: Warren Young <warren@etr-usa.com>
To: Cygwin-L <cygwin@cygwin.com>
Sent: Wednesday, 28 March, 2007 11:06:53 AM
Subject: Re: EAGAIN Error while processing a batch of transaction messages.


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/


		
___________________________________________________________ 
The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]