ip2long

ip2long -- Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address.

Description

int ip2long ( string ip_address)

Príklad 1 . ip2long( ) Example




Poznámka :

This second example shows how to print a converted address with the printf() function :

Príklad 2 .