On Sun, 6 Dec 2020, Noel Duffy via fpc-pascal wrote:
Hi all,
Following up on the work I've being doing to add support for DNS queries over
TCP to netdb and to add support for querying all of the standard resource
types such as MX, SOA, TXT, NS, etc, I've added the proposed changes to a
note in the Bugtracker:
https://bugs.freepascal.org/view.php?id=37906#c127368
This isn't yet in patch form. I've just created a copy of netdb.pp and
renamed it to newnetdb.pp. I'm posting about it now to get some feedback on
it.
In general it looks good. 2 remarks:
I did see you removed the comments about byte order, I don't think
that's a good idea, these comments have their use :-)
The second point is that you removed the USE_LIBC define.
The netdb unit works only with USE_LIBC on Android.
So it is imperative that this keeps working too. Maybe with a reduced API,
but it should work nonetheless.
Michael.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal