http://www.perlmonks.org?node_id=348754


in reply to Ping a Server

Hi,

What do you mean by server?
Is it windows and you mean the AD server?
Is it the print server, logon server, etc... ?
In the Win32::NetAdmin package, there are several methods for locating your windows server, is that is what you want, and once located use DNS to find the ipaddress: gethostbyname


---------------------------
Dr. Mark Ceulemans
Senior Consultant
BMC, Belgium