Learn R Programming

iptools (version 0.7.2)

host_count: Return the number of hosts in a CIDR block

Description

TODO: ipv4 validation

Usage

host_count(cidrs)

Arguments

cidrs

character vector of IPv4 CIDRs

Examples

Run this code
# NOT RUN {
host_count("1.52.0.0/14")
# }

Run the code above in your browser using DataLab