Re: WIN32 errno patch

Поиск
Список
Период
Сортировка
От Serguei Mokhov
Тема Re: WIN32 errno patch
Дата
Msg-id 008801c12803$cf9efa80$5dd9fea9@gunn
обсуждение исходный текст
Ответ на Re: Re: [HACKERS] Re: WIN32 errno patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
----- Original Message -----
From: Magnus Naeslund(f) <mag@fbab.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.




В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Patch: use SCM_CREDS authentication over PF_LOCAL sockets
Следующее
От: "Magnus Naeslund\(f\)"
Дата:
Сообщение: Re: WIN32 errno patch