I want to scan a port that a game uses, and get all the ip's that are connceted through that port to my server.
How can I do that and log those ip's to a txt file.
Printable View
I want to scan a port that a game uses, and get all the ip's that are connceted through that port to my server.
How can I do that and log those ip's to a txt file.
Open up a command prompt and type:
It lists all current connections and their ports.Code:> netstat -n
if you wanted to do it through your vb app there is loads of examples on pscode.com search for 'netstat' then you could have your app save the IP's to a txt
To use Netstat and log it to a text file of your choice Open a Command Prompt and use...Code:netstat -n > C:\log.txt