If I understand you correctly, you are going from IP to a.b.c.IP

What if I want to go the other way, from a.b.c.IP to IP?

Is there an algorithm for that?

Thanks.