HiFor debugging purposes I would like to get a hostname (from an ip) on a ic page
I have tryed following (with an lot of variations over "use Socket", Socket:.....)
[perl] $hostip="1.2.3.4"; return(gethostbyaddr(Socket::inet_aton($hostip),Socket::AF_INET) ); [/perl] But it alvays gives an error, like - Safe: 'gethostbyaddr' trapped by operation - Undefined subroutine &Socket::inet_aton - "use" not allowed in expressionIf I want to make an 'lookup' of the hostname. Do I have to make an usertag to do it ?
- Niels _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.