BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 12-01-2009, 04:08 PM   #1 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 8820
PIN: N/A
Carrier: AT&T
Posts: 72
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default how to ping from a program?

Please Login to Remove!

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
Offline  
Old 12-01-2009, 06:29 PM   #2 (permalink)
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Post Thanks: 0
Thanked 34 Times in 33 Posts
Default

Implementation of ping requires the abilty to create ICMP messages, which is not provided on the Blackberry.

Also, the device itself does not actually have an IP stack, so you could never send the ICMP anyway.

IMHO, this is not do-able on the Blackberry.
Offline  
Old 12-01-2009, 07:17 PM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 8820
PIN: N/A
Carrier: AT&T
Posts: 72
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

A somewhat expected (though not desired) response. Thanks Doug.
Offline  
Old 12-01-2009, 07:27 PM   #4 (permalink)
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 8820
PIN: N/A
Carrier: AT&T
Posts: 72
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Actually, thinking about it a bit more, there must be some way for a ping to be done, even without the TCP stack, since there is that Ping command in the WiFi Options menu. And that Ping command works even if WiFi is disabled.

However, I realize this does not mean that RIM gave any API to do what that command does.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Polycom CX700 VoIP Telephone IP Phone PoE/ LCD Display Office Lync Compatible
$100.35
Polycom CX700 VoIP Telephone IP Phone PoE/ LCD Display Office Lync Compatible picture3com NBX 3C10402A 655-0245-01 3102 IP VOIP BUSINESS Telephone
$8.99
3com NBX 3C10402A 655-0245-01 3102 IP VOIP BUSINESS Telephone pictureLot of 10 Cisco Systems CP-7961G IP Phone 7961 Series 7900 VoIP Office Desk Phon
$79.0
Lot of 10 Cisco Systems CP-7961G IP Phone 7961 Series 7900 VoIP Office Desk Phon pictureCisco CP-7911g VoIP Phone Used (Lot of 5)
$39.0
Cisco CP-7911g VoIP Phone Used (Lot of 5) picturePolycom SoundStation IP 6000 Conference VoIP Phone
$50.0
Polycom SoundStation IP 6000 Conference VoIP Phone picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.