As network adminstrator it can be important so know how many devices are connected to a network and log them over time.
Make a class that can ping all devices connected to the network and append the devices into a list with name & Ip address. This list must then be logged with a timetamp and saved as a csv file.
- Automaticly detect the ip range dependent on the subnetmask and host ip address.
- Create the logger