Cool. Since we do have UNIX + SSL, maybe we should provide an example?
Because that would require duplicating the logic in create_datagram_endpoint(), which is totally separate (all the way down to the I/O callbacks).Feel free to add a feature request to the tracker for this though. Be sure to indicate an actual use case (rather than just abstract interest). E.g. do you expect to need this in OpenStack? How?
sock = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
sock.setblocking(False)sock.connect(os.environ["NOTIFY_SOCKET"])transport, protocol = loop.create_datagram_endpoint(
I can help you on that part if you want ;-)