Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-committers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group