Added README and changed binary to dotted binary

This commit is contained in:
2014-06-01 16:12:48 +02:00
parent 4105721a08
commit 982cfacee5
2 changed files with 31 additions and 3 deletions

24
README.md Normal file
View File

@@ -0,0 +1,24 @@
# Netcalc #
This is a simple CLI network calculator made in PHP. Usage is pretty straight
forward. For example, let say you want to know how many usable addresses you
will get with a 26 bit netmask, simply run the script as below:
php netcalc.php 26
The above command will give you the following outut:
Netmask
-------
In slash notation: 26
In dotted decimal: 255.255.255.192
In dotted binary: 11111111.11111111.11111111.11000000
Network size
------------
Total number of addresses: 64
Number of usable addresses for hosts: 62
## Copyright ##
Netcalc is written by Jack-Benny Persson and released under GNU GPL version 2.