I'd like to create an application that gets the ipv4 tcp table ( currently by using GetTcpTable() ), then gets a socket (searching for a particular IP address) and peeks data from that connection (it actually has to send data too).
So we have two processes on the same machine, one that has a connection to a server, and another one that exploits that connection to peek/send data from it.
Is it possible to use a socket created by another process?
I am writing an add-on application for a videogame, and need to "talk" to the server the game is connected to.