[Twisted-Python] Ldaptor Proxy using UDP

Matthew Robertson sile16 at gmail.com
Fri Dec 13 11:29:38 MST 2019


I've started from the ldaptor proxy example here:

https://ldaptor.readthedocs.io/en/latest/cookbook/ldap-proxy.html

and have a working application using tcp, However, now there is a
requirement to access via UDP.  I have been struggling to get this to
work,  nothing seems to work.

Mainly been trying to duplicate how the DNS server works for both tcp & udp.

class DNSDatagramProtocol(dns.DNSMixin, protocol.DatagramProtocol):

but not sure if that is the right path or there is an easier way.

thank you,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20191213/4d116098/attachment.html>


More information about the Twisted-Python mailing list