sampad1370 / lidgren-network-gen3

Automatically exported from code.google.com/p/lidgren-network-gen3
0 stars 0 forks source link

NetUtility.Resolve(string ipOrHost) #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the reason to check regular expression when you call IPAddress.TryParse 
in any case ?

P.S.
For null string you can throw ArgumentNullException.

Original issue reported on code.google.com by NN1436401@gmail.com on 6 Sep 2010 at 12:11

GoogleCodeExporter commented 9 years ago
True. IPAddress.TryParse will also parse ipv6 addresses, but that's fine, it 
should be checked elsewhere. Fixed in rev 112

Original comment by lidg...@gmail.com on 7 Sep 2010 at 6:07