I begun to learn how to code with things related to IPv4 and I read things from the 'Beej's Guide to network programming' that is the best guide for network programming. There are also mentioned things on how to manipulate with IPv6 IPs...try to search it on google you'll find it for sure..
Aleksandar
P.s.
If you already have heard of this guide, sorry, I am trying to say what I know.

)