IP calculator for Ecole42
Manual:
- Compile
- Run program with arguments:
If you want to get max number of hosts: ./a.out "-hostmax" "-mask" "255.255.255.255"
If you want to get full info about IP adress: ./a.out "-IPv4" "195.70.16.159" "/29"
where /29 is your mask