I've implemented network extension with provider called NEDnsProxyProvider.
I'm Using the handleNewFlow callback in order to catch dns request/response, and I'd like to read and parse the dns request/response before decide what to do with them.
the use cases are both UDP and TCP so I'd like to be able to read the dns packets into the extension in order to parse them.
in the UDP case I've read of read/writeDatagram, but couldn't find the synonym for the tcp sceanario.
thanks.