mc 2.4.2 request

Alex Shaw A.Shaw at mailbox.gu.edu.au
Sat Mar 9 22:55:01 EST 2002


Hi all

Wouldn't it be nice if there was a simple function which returned the host 
ip address (whichever was current or a list of valid ones) without having 
to open a socket.

put hostnametoaddress(the hostname) - seems to work on pcs but fails on 
macs ( only tested on os 8.6)

A list can be extracted from "ipconfig /all" on windows machines but I'm 
not sure about macs, unix or macosx.

regards
alex




More information about the metacard mailing list