Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 141
Registered: ‎02-27-2009
My Device: Not Specified

how to ping from a program?

[ Edited ]

Is it possible to send a ping (and get the echo response) from a Java program on the BlackBerry?


(Please not that I said "from a program".  Using the ping command in the WiFi options would not be a solution.)





Posts: 562
Registered: ‎09-30-2009
My Device: Not Specified

Re: how to ping from a program?

[ Edited ]

I don't think you can craft raw IP packets with the Blackberry API, which is required to craft an ICMP packet, so the answer would be no.


The Datagram documentation does mention GCMP packet types, which is probably something intrinsic to mobile networking, but I don't know anything about that and can't find much detail on it elsewhere.