PHP Classes / clsNetwork

Resolve and validate networking addresses

clsNetwork PHP Class

This class can be used to resolve and validate networking addresses. It can: - Resolve an IP address to obtain the corresponding host name and vice-versa - Check whether an host accepts a connection to a given port - Get the last IP of a sub-network given its mask - Calculate the mask of a sub-network given the start and end IP addresses - Compare and validate masks - Validate an IP address to check if it belongs to a sub-network with a given mask - Validate IP and MAC addresses

Search in PHP Classes

Filter by tags