Ummm, this article must be a little out of date. I think it refers to Palm
OS before 3.0. I have implimented ping in several projects and have a
freeware Ping application available on my personal website:
http://www.searat.com/ping/index.html
you can open a raw socket this way:
socket = NetLibSocketOpen(AppNetRefnum, netSocketAddrINET,
netSocketTypeRaw,
netSocketProtoIPRAW, AppNetTimeout, &err);
The caveat is that you now have to build the entire IP packet yourself and
handle every packet that comes in that port.
/// Chris Terwilliger
/// Motorola - iDEN Software Development
/// office: 954-723-5318
/// mobile: 954-325-0345
/// [EMAIL PROTECTED]
/// http://www.idendev.com
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 13, 2000 10:40 PM
To: [EMAIL PROTECTED]
Subject: TCP/IP vs. ping
I need to implement a "ping" function on the Palm. According to Article
1141 in
the Palm Knowledge Base, "... PalmPilot supports the TCP and UDP
stream/datagram
layers of the internet. The raw socket interface is not supported. As a
result,
applications cannot implement a ping protocol." The article goes on to
describe
the Berkely Sockets API and the PalmPilot Net Library API. Can someone
clarify
for me whether it is, in fact, possible to perform a ping function in some
way?
Thanks,
Barb