Re: ipv6 considerations
[email protected] (Christos Zoulas)
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Organization | Astron Software |
| Message-ID | <[email protected]> |
On Aug 19, 11:51am, [email protected] (Frediano Ziglio) wrote: -- Subject: Re: [freetds] ipv6 considerations | 2011/8/19 Christos Zoulas <[email protected]>: | > On Aug 19, 11:20am, [email protected] (Frediano Ziglio) wrote: | > -- Subject: [freetds] ipv6 considerations | > | > | Mmm... I'm just thinking about using getaddrinfo/getnameinfo and | > | similar in libtds avoiding other "old" functions like gethostbyname | > | and implementing getaddrinfo replacements where not available. | > | > Yes, just do that. No point in supporting gethostby*(). Also fix the | > patch to iterate through the return address list. | > | > christos | | Mmm... what do you mean by "fix the patch to iterate..." ? | I think this is a improve, think about server that has multiple ip or | some cluster settings. Right. Look at http://cvsweb.netbsd.org/bsdweb.cgi/src/external/gpl2/xcvs/dist/src/client.c?rev=1.3&content-type=text/x-cvsweb-markup&only_with_tag=MAIN connect_to() for a code example... christos