Get all connections related to an IP

0

Is it possible to get all the ips that are connected to an IP in Visual Basic? For example, I get the IP of all players who are connected to a server in a game. I tried the variable System.NET.IPHostEntry.Aliases but it did not return anything ...

    
asked by anonymous 26.09.2015 / 08:28

1 answer

1

Your question describes a Client-server architecture, ie each client (IP) connects to the IP of the server, in this type of communication only the server has the information of the clients connected to it, making an analogy imagine that a telemarketing clerk makes three simultaneous calls, one of these connections was intended for you, as you will know the name of the other two people ? how would you know there are two other people talking or waiting with the operator? Or you ask the operator with how many people she is talking to and what the users name is online or you have access to the central office, the same happens in a client-server architecture.

Using Sniffer can tell you what IPs from your internal network are connecting to the server, it will not be possible to get which IPs around the world are connected, if you have access to the network of the game server is another story I understand this is not the case. The fact is that there is no way to know which clients are connected directly to a server without access to it (we're not talking about potential security holes on the server where you might be able to crack the information illegally).

If you have access to the server a simple netstat -na will list all the IPs connected directly to it.

    
27.09.2015 / 01:17