Actually I have three questions:
1- According to Nazar Grynko answer, Is it only intercepting the three functions(send , recv,and connect) will help me to anticipate all the packet in my machine?
2- If I hooked the three functions, How to get an IntPtr which points to a sockaddr structure from a P/Invoked native function?
3- Send, and recv are not having sockaddr, so how to figure out the addresses?
Thank you in advance.