Subject: Re: bug#40343: 28.0.50; dns-set-servers fails on IPv6 available Windows
From: Robert Pluim <[email-masked]>
To: Kazuhiro Ito <[email-masked]>
Cc: [email-masked]
Date: Fri, 03 Apr 2020 17:19:25 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

>>>>> On Fri, 03 Apr 2020 23:08:10 +0900, Kazuhiro Ito <[email-masked]> said:

    >> Thanks for that. This should fix all those cases:
    Kazuhiro> Thank you for the patch.  It works well on Cygwin environment.  But I
    Kazuhiro> noticed different problems in dns-query when TCP is used.

Thanks for checking, pushed to master as 00f7744c1b

Closing the bug.

    Kazuhiro> 1. dns-write function needs to be called with TCP-P option.
    Kazuhiro> 2. First 2 bytes of received data (length field) should be truncated
    Kazuhiro> for dns-read function.  Or dns-read function should accept TCP-P
    Kazuhiro> option like dns-wrote function.

Indeed, looks like thatʼs never worked. Iʼll fix those separately.

Robert