Is there any way I can use socket.recvmsg to get ancillary data with asyncio backend? #924
Replies: 1 comment
-
|
Closing this discussion as there is also an issue, and I'll answer the question there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to get the ancillary data of a socket with asyncio backend, tried to get the socket timestampe as the dns server querytime.
By modifed the source code, I could get the socket, but the error indicated that the fd of that socket already been used by the transport, even if I closed it. Does anyone has any idea about how to get the ancillary data from the socket ? If so, where should I add "socket.recvmsg" in the source code?
Beta Was this translation helpful? Give feedback.
All reactions