This is a new video tutorial on how to make IP address calculator to calculate:
Network address
Broadcast address
Netmask
Available Host
Available Network
both the binaries and decimals from ip address and netmask cidr in java netbeans 8.
This new tutorial is much easier to understand and more straight-forward than my previous similar video tutorial because in this tutorial I am using binary operation rather than processing binaries in strings. And the code is also shorter without any if blocks at all, so i think i don't need to post the scripts to my blog.
Steps overview
• How to make ip address calculator in ...
Read value from textfields and assign to variables.
• How to make ip address calculator in ...
Creating byte string from each ip quarter.
• How to make ip address calculator in ...
Define integer variable for bitmask.
• How to make ip address calculator in ...
Make binary from the whole IP quarter. using binary shift operation
• How to make ip address calculator in ...
Make netmask binary. using binary shift operation
• How to make ip address calculator in ...
Do binary AND operation to find out the network address. OR Operation to find out the broadcast address.
• How to make ip address calculator in ...
Split the binaries every 8 digit.
• How to make ip address calculator in ...
Displays to label.
• How to make ip address calculator in ...
Displaying the decimals based on the binaries.
• How to make ip address calculator in ...
count available hosts and networks from the binaries.
Watch the part 2 here for some hotfixes:
• How to make ip address calculator in ...