Re: libpq sockets on win32 - Mailing list pgsql-interfaces

From Bruce Momjian
Subject Re: libpq sockets on win32
Date
Msg-id 200106042035.f54KZ8409367@candle.pha.pa.us
Whole thread Raw
In response to RE: libpq sockets on win32  ("Jeff Johnson" <jeff@jeffjohnson.net>)
List 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@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

pgsql-interfaces by date:

Previous
From: "Jeff Johnson"
Date:
Subject: RE: libpq sockets on win32
Next
From: Ashley Clark
Date:
Subject: What is the difference between the two MSI installers?