Skip to content

Commit 4c27d36

Browse files
authored
Update README.md
1 parent 92c0b71 commit 4c27d36

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ This module requires IP2Location BIN database to function. An outdated BIN datab
3131

3232
For the BIN database update, you can just rename the downloaded BIN database to *IP2LOCATION-DB.BIN* and replace the copy in *application/libraries/ip2location/* (if you didn't change the default IP2LOCATION_DATABASE constant as described in the below section).
3333

34+
IPv4 BIN vs IPv6 BIN
35+
------------------------
36+
Use the IPv4 BIN file if you just need to query IPv4 addresses.
37+
If you query an IPv6 address using the IPv4 BIN, you'll see the IPV6_NOT_SUPPORTED error.
38+
39+
Use the IPv6 BIN file if you need to query BOTH IPv4 and IPv6 addresses.
40+
3441
Usage
3542
-----
3643
Use following codes in your application for get geolocation information.

0 commit comments

Comments
 (0)