Paul Taylor

Paul Taylor

  • NA
  • 1
  • 0

Sockets and IPs

Aug 29 2007 8:05 PM
Hi all,
I need some help. I host an internet based game and I am fed up with modders, so I am trying to find a way to track them and stop them. I have a server client setup with the client on each of the players' machines that is used to connect to the game server and then fire up the game itself. But some people are bypassing the client by starting the game (alongside the client) on one machne but connecting to the actual game server from a different machine.

So, what I am trying to do is to resolve the IP that the actual game (clientside) is connected to.  I tried using a piece of sniffer code which worked fine but it sniffs at the ethernet card meaning that it fails on players with USB modems. What I need to do is to resolve the host IP using the port that the game connects through. I know this to be 2302 (initially) and for it to work with both ethernet and USB.

Any help/suggestions would be appreciated.

Thx in advance

Paul