Re: WIN32 errno patch

From: "Serguei Mokhov" <sa_mokho(at)alcor(dot)concordia(dot)ca>
To: "Magnus Naeslund(f)" <mag(at)fbab(dot)net>, "Mikhail Terekhov" <terekhov(at)emc(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-patches(at)postgresql(dot)org>
Subject: Re: WIN32 errno patch
Date: 2001-08-18 16:33:19
Message-ID: 008801c12803$cf9efa80$5dd9fea9@gunn
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers pgsql-patches

----- Original Message -----
From: Magnus Naeslund(f) <mag(at)fbab(dot)net>
Sent: Saturday, August 18, 2001 10:15 AM

> Ok, where's a "system dependent hack" :)
> It seems that win9x doesn't have the "netmsg.dll" so it defaults to "normal"
> FormatMessage.
> I wonder if one could load wsock32.dll or winsock.dll on those systems
> instead of netmsg.dll.

Windows 98SE, M$ Visual C++ 6.0
In the project settings in the Link library list
you can put 'wsock32.lib'.

> Could someone else test this code on a win98/95 system?

I compiled and run it. I didn't produce any error messages for IP 10.10.10.3
you put there. I used localhost instead, and here is the
result:

socket error(10061):Unknown socket error(10061)

I don't know whether this is what you expected or not.

S.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Naeslund(f) 2001-08-18 17:07:42 Re: WIN32 errno patch
Previous Message Magnus Naeslund(f) 2001-08-18 14:15:31 Re: Re: [HACKERS] Re: WIN32 errno patch

Browse pgsql-hackers by date

  From Date Subject
Next Message August Zajonc 2001-08-18 16:56:33 Re: Setting Up User Accounts For PostgreSQL ?
Previous Message Peter Eisentraut 2001-08-18 16:19:59 RE: Progress report on locale safe LIKE indexing

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Naeslund(f) 2001-08-18 17:07:42 Re: WIN32 errno patch
Previous Message Tom Lane 2001-08-18 15:04:39 Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets