Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
plevintampabay
Posts: 141
Registered: ‎02-27-2009

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.)

 

  Thanks,

  Paul

 

Please use plain text.
Developer
ydaraishy
Posts: 562
Registered: ‎09-30-2009

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.

Please use plain text.