X-Spam-Check-By: sourceware.org
X-YMail-OSG: oA9uQI8VM1mGK6wb_gSLwFxgg5V.Yl4w3m6aC9.2Pw.Iz1_eMAOX3Q7wgV_RXcgc7c9Z.Xn3kvgc81AkuFc2rdbzaqPW5l.fmVWm
X-Mailer: YahooMailRC/476 YahooMailWebService/0.7.41.8
Date: Wed, 28 Mar 2007 11:53:03 +0530 (IST)
From: neo napster <neo_realnapster@yahoo.co.in>
Subject: Re: EAGAIN Error while processing a batch of transaction messages.
To: cygwin cygwin <cygwin@cygwin.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ascii
Message-ID: <77175.82813.qm@web7611.mail.in.yahoo.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

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/

