> Message du 05/10/08 01:53
> De : "Bernard van de Koppel"
> A : beginners@perl.org
> Copie à :
> Objet : Convert ipaddress from cdp table
>
>
> Hi,
>
> How can I convert the binary form of the ip address returned from the
> snmp query below (resolving the ip of a cdp neighbour), to the normal
> x.x.x.x form.


Do you mean to translate a network addr to a host addr?
perldoc Socket and look for inet_ntoa;
perldoc -f pack;
perldoc -f unpack;

Regards,
Jeff.

 Créez votre adresse électronique [EMAIL PROTECTED] 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.

Reply via email to