ela-compil / BACnet

BACnet protocol library for .NET :satellite:
https://www.nuget.org/packages/bacnet/
MIT License
215 stars 95 forks source link

Update BVLC.cs to allow certain IP addresses #123

Open wayfrae opened 1 year ago

wayfrae commented 1 year ago

Some IP addresses, such as 192.168.0.137, will be converted to a negative number by ToInt32(). It is better to use ToUInt32() since the IPAddress construction will throw an exception for negative numbers.