Menu

#3 Ping not working on WinCE ??

open
nobody
None
5
2002-09-24
2002-09-24
Tom Arn
No

The sockets.ping function does not seem to work under
WinCE. I've tried on my HP720 (HPC2000, WinCE3.0, ARM)

Can someone verify that on his device or provide a fix
for it?

Tom

import "sockets"
hostname = "www.aristar.com"
t = sockets.ping(hostname)
if t == 0 then
print "no answer"
else
print format("%s answered in %d
milliseconds",hostname, int(t))
endif

Discussion


Log in to post a comment.

MongoDB Logo MongoDB