ip2long

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

Description

int ip2long ( string ip_address)

Esimerkki 1 . ip2long( ) Example




Huomaa :

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

Esimerkki 2 .