From: | "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> |
---|---|
To: | "Andrew Dunstan" <andrew(at)dunslane(dot)net> |
Cc: | <mha(at)sollentuna(dot)net>, <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: Client build of MSVC6+ patch |
Date: | 2006-06-28 02:02:20 |
Message-ID: | 015e01c69a56$e562cc00$e2110dde@IBMC4B5932F74B |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Hi.
>>> If IPv6 gets broken after all the trouble several of us went to I'll
>>> be annoyed. :-)
>>
>> Um, I think that this was the origin in problem.:-)
>>
>
> Why do we need to reorder the fields in the struct?
Eh? Even my FreeBSD used well shows a structure object.
(FreeBSD)
/usr/include/netdb.h
struct addrinfo {
int ai_flags; /* AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST */
int ai_family; /* PF_xxx */
int ai_socktype; /* SOCK_xxx */
int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */
size_t ai_addrlen; /* length of ai_addr */
char *ai_canonname; /* canonical name for hostname */
struct sockaddr *ai_addr; /* binary address */
struct addrinfo *ai_next; /* next structure in linked list */
};
Then, It was helped actually.
Regards,
Hiroshi Saito
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-06-28 03:45:24 | Re: Client build of MSVC6+ patch |
Previous Message | Hiroshi Saito | 2006-06-28 01:33:54 | Re: Client build of MSVC6+ patch |