On 26/09/20 9:07 pm, Michael Van Canneyt via fpc-pascal wrote:

On Sat, 26 Sep 2020, Noel Duffy via fpc-pascal wrote:

To restate the question, is 64k too much overhead for DNS queries? That 
overhead would be present on all queries, regardless of whether UDP or TCP was 
used.

I would then prefer to allocate a dynamic buffer. A simple "Array of Byte" can
easily be managed with SetLength() and it is automatically disposed of when
not needed.

Fair enough. Dynamic it is. Thanks Michael.


_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to