5 ms·
If you're using a database, use something like Postgres that has this functionality built in[0]. You can store IPs, networks, etc. in a native format that has a
by chrisdhal 3y ago
If you're using a database, use something like Postgres that has this functionality built in[0]. You can store IPs, networks, etc. in a native format that has all sorts of functionality available out of the box.
[0] https://www.postgresql.org/docs/current/functions-net.html https://www.postgresql.org/docs/current/functions-net.html