techknight Well-Known Member Licensed User Longtime User Mar 11, 2017 #1 I use the Network library and Socket1 as Socket to make connections across the internet to my Verizon M2M devices from my apps. Everything works perfectly fine, HOWEVER we got notification from Verizon that after June they will be switching to IPv6 only for static IPs, and IPv4 will only be available for private/NAT which of course wont work at at all if a server sits behind an M2M module (which all my devices are servers). So, I cant find any information how to handle IPv6 with Socket? Any thoughts?
I use the Network library and Socket1 as Socket to make connections across the internet to my Verizon M2M devices from my apps. Everything works perfectly fine, HOWEVER we got notification from Verizon that after June they will be switching to IPv6 only for static IPs, and IPv4 will only be available for private/NAT which of course wont work at at all if a server sits behind an M2M module (which all my devices are servers). So, I cant find any information how to handle IPv6 with Socket? Any thoughts?
Erel B4X founder Staff member Licensed User Longtime User Mar 12, 2017 #2 You don't need to do anything special. The only thing that will not work is Socket.GetMyWifiIP that only supports IP4 addresses. Upvote 0
You don't need to do anything special. The only thing that will not work is Socket.GetMyWifiIP that only supports IP4 addresses.
techknight Well-Known Member Licensed User Longtime User Mar 14, 2017 #3 Is there a tutorial or how-to to connect to an IPv6 server socket? I know IPv6 is in hexadecimal and I am unsure of the formatting for Socket1.connect(IP) for IPv6 Upvote 0
Is there a tutorial or how-to to connect to an IPv6 server socket? I know IPv6 is in hexadecimal and I am unsure of the formatting for Socket1.connect(IP) for IPv6
Erel B4X founder Staff member Licensed User Longtime User Mar 14, 2017 #4 You just need to enter the IPv6 address instead of ip4: Code: Copy Socket.Connect("2001:0db8:85a3:0000:0000:8a2e:0370:7334", 80, 0) Upvote 0
You just need to enter the IPv6 address instead of ip4: Code: Copy Socket.Connect("2001:0db8:85a3:0000:0000:8a2e:0370:7334", 80, 0)
techknight Well-Known Member Licensed User Longtime User Mar 15, 2017 #5 Perfect, thank you. Upvote 0