Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   TBDev (http://www.bvlist.com/forumdisplay.php?f=20)
-   -   ipv6 (http://www.bvlist.com/showthread.php?t=12416)

elvira 30th August 2021 22:25

ipv6
 
hello all,

what must do in userdetails to show me complete ipv6 address

https://shrani.si/f/n/9d/36pL8x39/po...na-2021-08.png

DND 30th August 2021 23:39

make a longer varchar field in the database for any ip you have (users, peers, snatched) and so on
ipv4 is 15 but ipv6 should be 39, just make it varchar(40) to be sure
the best and recommended way to store ipv6 is varbinary(16)

elvira 1st September 2021 20:27

Thanks, @DND for this info.

elephant2 21st October 2021 01:58

Quote:

Originally Posted by DND (Post 55751)
the best and recommended way to store ipv6 is varbinary(16)

With this approach you can also use INET6_ATON()/INET6_NTOA() in mysql.


All times are GMT +2. The time now is 13:37.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.