M
miss
I was wondering if there was any API out there to manage IPAddress. I
already have implemented most of the part using string functions but
it seems there should be better way to do this.
I am storing IPAddress range in decimal format in the database. But
user can put any of the following format.
12.23.*.*
12.23.21.23
12.23.23.0-12.23.23.255
216.239.32.0/19
all of them gets converted to following format
3639557888-3639558143
already have implemented most of the part using string functions but
it seems there should be better way to do this.
I am storing IPAddress range in decimal format in the database. But
user can put any of the following format.
12.23.*.*
12.23.21.23
12.23.23.0-12.23.23.255
216.239.32.0/19
all of them gets converted to following format
3639557888-3639558143