How to make IP Address calculator in java netbeans 8

Опубликовано: 26 Октябрь 2015
на канале: GemaCode
13,402
87

NOTE: Please watch the new version of this video here instead:
   • How to make ip address calculator in ...  
it's much easier to understand and more straight-forward than this video.

This is a tutorial on how to make IP address calculator to calculate network address, Broadcast address, and netmask from ip address and cidr prefix.

In this tutorial, i am using java netbeans 8.

There is a typo in line 229, sorry. And here is the correct line:
String binOct=String.format("%8s",Integer.toBinaryString(oct[pos])).replace(' ','0');

You can copy the source code (only methods inside button click event, not entire code) from here:
http://www.asudahlah.com/2015/10/memb...