PHP-Klasse::clsNetwork 05.03.2007

Kurzbeschreibung: Resolve and validate networking addresses
Veröffentlicht am: 05.03.2007
Gruppe(n):
- Networking
- PHP 5
- Validation
Beschreibung:
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
Link: clsNetwork