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?
Here's a couple of possibilities:

* WMI - <http://msdn.microsoft.com/en-us/library/aa394340(VS.85).aspx>
* Performance Counters /Logs and Alerts - <http://msdn.microsoft.com/en-us/library/bb509354(VS.85).aspx>