Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f54KZEE13298; Mon, 4 Jun 2001 16:35:14 -0400 (EDT) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.10.1/8.10.1) id f54KZ8409367; Mon, 4 Jun 2001 16:35:08 -0400 (EDT) From: Bruce Momjian Message-Id: <200106042035.f54KZ8409367@candle.pha.pa.us> Subject: Re: [INTERFACES] libpq sockets on win32 In-Reply-To: "from Jeff Johnson at Jun 4, 2001 04:25:05 pm" To: jeff@jeffjohnson.net Date: Mon, 4 Jun 2001 16:35:08 -0400 (EDT) CC: pgsql-interfaces@postgresql.org, pgsql-docs@postgresql.org X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200106/8 X-Sequence-Number: 803 > I found this in WinSock.h ... it might shed some light on the problem. > > > #define WSABASEERR 10000 > [snip] > > /* > * Windows Sockets definitions of regular Berkeley error constants > */ > #define WSAEWOULDBLOCK (WSABASEERR+35) > #define WSAEINPROGRESS (WSABASEERR+36) > I modified the patch to use WSABASEERR rather than 10000. Do your includes define EAGAIN and stuff like that? Whare are those values? If they are the same as WSAEAGAIN, then my patch should work. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026