IPv4 address Max string Length
12個數字+3個分隔符=15個字符。
123.123.123.123
IPv6 address Max string Length
32個十六進制數字+ 7個分隔符= 39個字符。
ABCD:ABCD:ABCD:ABCD:ABCD:ABCD:ABCD:ABCD
包含保留映射IPv6地址的IPv4地址 = 45個字符
ABCD:ABCD:ABCD:ABCD:ABCD:ABCD:192.168.158.190
參考
https://stackoverflow.com/questions/1076714/max-length-for-client-ip-address/7477384#7477384