You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I know we can do this for IPv4, but would be really helpful if there was away to do this with IPv6 as well.
ip.toLong('127.0.0.1'); // 2130706433
The reason is we want to do a query in our database that allows us to search if an IP address is greater or less than what we have stored in the Database. however we can't do that type of search with Strings and need to convert everything to int.
The text was updated successfully, but these errors were encountered:
Hi I know we can do this for IPv4, but would be really helpful if there was away to do this with IPv6 as well.
The reason is we want to do a query in our database that allows us to search if an IP address is greater or less than what we have stored in the Database. however we can't do that type of search with Strings and need to convert everything to int.
The text was updated successfully, but these errors were encountered: