Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "Dave Korn" To: "'Cygwin forum'" Subject: RE: "select" returns error "Bad file descriptor" when called with a copy of "svc_fdset" (defined at "rpc.h") as it's readfds argument Date: Mon, 28 Jun 2004 13:23:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <001a01c45d05$21f43a50$b90d72d9@lsp> Message-ID: X-OriginalArrivalTime: 28 Jun 2004 12:23:37.0296 (UTC) FILETIME=[BCDE5500:01C45D0A] > -----Original Message----- > From: cygwin-owner On Behalf Of Lev Pliner > Sent: 28 June 2004 12:38 > I once again ask you to help me to solve my problem. I > attached an easy > example that works under Linux and FreeBSD. Your code doesn't even compile. There's no such include file as rpc/rpc.h on cygwin. You'll have to come up with a valid testcase. The fact that it does compile on your system suggests that you've been hacking around with your cygwin installation and messed it up. In particular you'll get into trouble if you try and mix up posix fd_sets with win32 fd_sets; they're completely different structures internally. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/