views:

58

answers:

1

For those of you who play MW2 on the PC you know it is plagued by hackers and cheaters. I would like to create a solution where the host of a multi player game can selectively firewall out a cheater. The problem I am running into is I do not know how to locate remote IPs that are sending or receiving UDP packets. Netstat will only show the listeners on my local machine. IPGlobalProperties does not have any methods I can use either as UDP is connectionless.

How can I go about finding remote IPs of UDP packets? I would like to code a solution using C#.

A: 

You'll want to write a network sniffer to start with, see this CodeProject example.

jcopenha