X-Spam-Check-By: sourceware.org Message-ID: <4609FEF5.5000306@etr-usa.com> Date: Tue, 27 Mar 2007 23:36:53 -0600 From: Warren Young User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Cygwin-L Subject: Re: EAGAIN Error while processing a batch of transaction messages. References: <927392 DOT 20565 DOT qm AT web7609 DOT mail DOT in DOT yahoo DOT com> In-Reply-To: <927392.20565.qm@web7609.mail.in.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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/