Re: [INTERFACES] libpq sockets on win32

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: jeff(at)jeffjohnson(dot)net
Cc: pgsql-interfaces(at)postgresql(dot)org, pgsql-docs(at)postgresql(dot)org
Subject: Re: [INTERFACES] libpq sockets on win32
Date: 2001-06-04 20:35:08
Message-ID: 200106042035.f54KZ8409367@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-interfaces

> 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2001-06-05 13:09:23 users-lounge/docs/7.1/programmer/jdbc-lo.html - ERROR?
Previous Message Jeff Johnson 2001-06-04 20:25:05 RE: [INTERFACES] libpq sockets on win32

Browse pgsql-interfaces by date

  From Date Subject
Next Message Ashley Clark 2001-06-04 21:40:38 What is the difference between the two MSI installers?
Previous Message Jeff Johnson 2001-06-04 20:25:05 RE: [INTERFACES] libpq sockets on win32