Skip to Content.
Sympa Menu

freetds - Re: [freetds] ipv6 considerations

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: christos AT zoulas.com (Christos Zoulas)
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] ipv6 considerations
  • Date: Fri, 19 Aug 2011 06:08:47 -0400

On Aug 19, 11:51am, freddy77 AT gmail.com (Frediano Ziglio) wrote:
-- Subject: Re: [freetds] ipv6 considerations

| 2011/8/19 Christos Zoulas <christos AT zoulas.com>:
| > On Aug 19, 11:20am, freddy77 AT gmail.com (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




Archive powered by MHonArc 2.6.24.

Top of Page