Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: From: "Jimen.Ching" 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) Content-Type: text/plain; charset="iso-8859-1" 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