libcli/dns tcp

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

libcli/dns tcp

Samba - samba-technical mailing list

I attach to you two files concerning tcp packets from the client,
heavily based on the existing work on libcli/dns and dns_server.

tstream_read_pdu_blob_send() and tstream_read_pdu_blob_recv() don't
appear to be defined in tsocket, I went on to use
tstream_readv_pdu_send()/recv() instead to handle the request, though
there are some things I need clarification on (see 85, 127 in dns_tcp.c).

I have set up a GitHub repo <>
for the time being, all changes are pushed there.



dns_tcp.c (4K) Download Attachment
libdns_tcp.h (1K) Download Attachment