Dynamically get IPV4 or IPV6

Viewed 22

I get the ipv4 address from a website request on 'www.examplewoocommercestore.com' (I always get some kind of IPv4 address)

Then I get a request from 'examplewoocommercestore.com' backend whenever an order is made that sometimes consist of IPV4, or IPV6 address

How can I make sure the I collect ipv6 when available, and ipv4 when available, or vice versa? I.e. What are they doing to sometimes get ipv6 and sometimes ipv4.

0 Answers
Related