Reputation: 8320
Why not have chosen to use an UInt32 (for the IP) and an UInt16 (for the port)?
Upvotes: 3
Views: 122
Reputation: 43553
Unsigned integers are not CLS compliant. As such many languages does not support them and they are avoided, whenever possible, in the .NET base class libraries (BCL).
See also: Why are unsigned int's not CLS compliant?
Upvotes: 7