my goal is that my code (C#) outputs the IP addresses another program is trying to connect to. Example: my browser.exe wants to connect to a website at 12.34.567.89 so my code would output that IP.
Note: my main trouble is to also list unsuccessful connection attempts as everything else Ive found seems to only work with established connections.
I don't have a lot of experience and this is my first post so anything could help. Thanks in advance