net-ping error

Machine-specific discussion
Unix, Linux, OS X, OS/2, Windows, ..?
Locked
Sleeper
Posts: 24
Joined: Fri Nov 24, 2006 2:24 pm

net-ping error

Post by Sleeper »

Hi all!
I get an error with net-ping.

Code: Select all

newLISP v.9.0.9 on Win32, execute 'newlisp -h' for more info.

> (net-ping "www.google.com")

invalid function : (net-ping "www.google.com")
what's wrong with it?

Sammo
Posts: 180
Joined: Sat Dec 06, 2003 6:11 pm
Location: Loveland, Colorado USA

Post by Sammo »

From the manual: "This function is only available on UNIX-based systems and must be run in superuser mode."

Sleeper
Posts: 24
Joined: Fri Nov 24, 2006 2:24 pm

Post by Sleeper »

right. thanks Sammo!
i didn't notice it

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

Code: Select all

(net-lookup "www.google.com")
"64.233.183.99"
Any use?



-- now tiptoeing quietly from the Windows forum...

Locked