title: How to convert from IPv6 to IPv4, and from there to an integer format
body: <p>How do I convert an IPv6 address to an IPv4 address, and likewise how do I then parse the IPv4 address into a set of integers?</p>
  
  <p>I have :</p>
  
  <blockquote>
    <p>a = ' ff06::c3'</p>
  </blockquote>
  
  <p>I would like:</p>
  
  <blockquote>
    <p>4278583296.0.0.195 </p>
  </blockquote>
  
  <p>And from there I would like to get:</p>
  
  <blockquote>
    <p>a1 = 4278583296<br>
    a2 = 0<br>
    a3 = 0<br>
    a4 = 195  </p>
  </blockquote>