W dniu 2017-05-04 06:11, munna kumar via c-ares napisaĆ(a):
> Hi All,
>
> I need a confirmation regarding the Quality of Service with DSCP
> functionality in c-ares. Is c-ares has DSCP functionality implemented
> so that we can sent the DSCP value in the DNS queries for FQDN
> resolution?
>
> If yes, then how we can set the different DSCP value while sending the
> DNS query for FQDN resolution?
>
> Thanks in advance for you kind support!
>
> Thanks & Regards,
>
> Munna Kumar
You can register callback function which will be called when new socket
is created by c-ares. One of its params is socket descriptor, so you can
call setsockopt() on it and set DSCP for it.
Daniel
Received on 2017-05-04