Re: IPv6 patch

Peter Deacon <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <alpine.WNT.2.00.1010110855290.6940@SMURF>
On Mon, 11 Oct 2010, Frediano Ziglio wrote:

> 2010/10/11 Peter Deacon <[email protected]>

> Good. It seems your patch support multiple IP addresses too. I don't
> understand why you move code for port.

Hi Freddy,

Was originally trying to get the port labels resolved before doing the 
name lookup so the addrinfo structure would not need to be patched later.

This would have kept from having to use any IPv6 specific structures.. 
Eventually realized it wouldn't work.  The order can be switched back.

> Also you remove timeout code connecting to the server.

Sorry, noticed the timeout was sequenced after connect and didn't realize 
it was doing an NB select for connection completion later :(

I'll send a patch for v6 dynamic ports with a different patch I'm working 
on soon.

regards,
Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.