Net_IPv6::getNetmask()

Net_IPv6::getNetmask() -- Calculates the network prefix

Synopsis

require_once 'Net/IPv6.php';

string Net_IPv6::getNetmask (string $ip [, int $bits = null])

Beschreibung

Calculates the network prefix based on the netmask bits.

Parameter

Rückgabewert

string - the network prefix

Hinweise

Diese Methode kann statisch aufgerufen werden.

Method available since: Release 1.1.0