Opening a connection to the server for this is acceptable, but I need to get the netmask used to connect to a web server. What I hope to accomplish with this is use the ipv6 netmask to group entries originating from the same subnet in my database and use them for some statistics.
Ok, please don't tell me to get from SERVER side, yes I can get the IP but I also want the NETMASK and I can't get that from the server side, I need the CLIENT's netmask.