delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/01/10/22:33:33

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <B9906C3F4BB3D311A60F009027463EE904FD8D@MGMGRAND>
From: "Jimen.Ching" <JChing AT adtech-inc DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: recv system call problem
Date: Mon, 10 Jan 2000 17:35:09 -1000
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

Hi all,

I downloaded Mumit Khan's version of the cygwin libraries and compiled a
copy of cvs.  For some reason, the 'recv' system call is returning zero.
I don't think it is supposed to do that.  recv can only return -1 or the
number of bytes received.  The function call is requesting 1 byte.  The
code is not written to check for the 0 case, thus I see an infinite loop.

I tried backing out of Mumit's library and I still have the same problem.
Note, this used to work with a prebuilt cvs.exe.  After it stopped working,
I built my own.  But it didn't fix the problem.  I don't know why the
original binary started to fail.

Has anyone ran into this problem?  Thanks in advance for any help.

--
jimen AT adtech-inc DOT com     Adtech, Inc.    (808) 734-3300

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019