An IPv4 address, or simply an IP address, has four discrete parts. As an IPv4 address is stored using 8-bit binary numbers, each part can have values from 0, which is 00000000 in the binary format, to 255, which is equal to 11111111 in the binary format.
The name of the program will be findIPv4.go and it is going to be presented in five parts. The first part of findIPv4.go is shown here:
package main import ( "bufio" "fmt" "io" "net" "os" "path/filepath" "regexp" )
As findIPv4.go is a pretty sophisticated utility, it needs many standard Go packages.
The second part ...