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: 
You could cheat this easily:

1. Create a process using cmd.exe
2. Call the command `netstat -e 10' (for 10 seconds)
3. Pipe the output back to your application as an input stream
4. Parse the input stream
5. If the user decides to quit the program send a ctrl-c break sequence to the process.

What do you think?
You need to go down to driver level and monitor your ethernet device and count up the bytes coming and out.

It'll involve P/Invoke I'm pretty sure. Don't think it's that simple...