I learnt that IPAddress.Parse may not parse as expected

One of our developers spotted an issue that a PGM network was not listening on the address we expected. After some investigation we tracked it down to IPAddress.Parse.

We were passing in an address of “xxx.xxx.xxx.010” and getting back “xxx.xxx.xxx.8”

It appears that it treats each section separately and interpreted “010” as octal … hence the 8 !

Not quite what we expected.