Question: I get the following error when connecting XCode to a repository on GoogleCode.com

```
Error: 175002 (RA layer request failed) Description: Server sent unexpected return value (405 Method Not Allowed) in response to OPTIONS request for 'http://touchcode.googlecode.com/hg' 

```

Has anyone see this before and how do I resolve it?

Answer: 
Some possibilities:

* WinPCap - Will not give you application, however
* LSP - Loaded as a DLL into any process that uses Winsock. Gives you everyhting you would want to monitor traffic per-application, but is not simple to write.
* WMI - Aggregate totals per network interface: <http://msdn.microsoft.com/en-us/library/aa394293(VS.85).aspx>
Your best bet is to use performance counters or WMI and do sampling at a frequency that is comfortable for you. IF you are trying to get something similar to the byte counts on the network card properties those counters are in the performance counter set.

If you are trying to also measure all devices (USB, etc) you will probably need to write your own customer drivers to intercept data transfer events.