BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 12-01-2009, 04:08 PM   #1
plevintampabay
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 8820
PIN: N/A
Carrier: AT&T
Posts: 72
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
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
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
plevintampabay
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 8820
PIN: N/A
Carrier: AT&T
Posts: 72
Default

A somewhat expected (though not desired) response. Thanks Doug.
Offline  
Old 12-01-2009, 07:27 PM   #4
plevintampabay
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 8820
PIN: N/A
Carrier: AT&T
Posts: 72
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



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


AB 1747-L542 /B SLC 500 5/04 CPU PROCESSOR UNIT New Factory Sealed AB 1747L542 picture

AB 1747-L542 /B SLC 500 5/04 CPU PROCESSOR UNIT New Factory Sealed AB 1747L542

$334.57



NEW SEALED AB 1747-L541 /C SLC 500 SLC 5/04 CPU PROCESSOR UNIT MODULE US picture

NEW SEALED AB 1747-L541 /C SLC 500 SLC 5/04 CPU PROCESSOR UNIT MODULE US

$310.93



Raspberry Pi Pico Microcontroller Development Board RP2040 dual-core processor picture

Raspberry Pi Pico Microcontroller Development Board RP2040 dual-core processor

$6.49



The Writer by Keyboard Instructor Word Processor Typing Trainer + Case *Working* picture

The Writer by Keyboard Instructor Word Processor Typing Trainer + Case *Working*

$29.99



Allen Bradley 1747-L542 SER C SLC 500 5/04 CPU PROCESSOR UNIT AB 1747L542 picture

Allen Bradley 1747-L542 SER C SLC 500 5/04 CPU PROCESSOR UNIT AB 1747L542

$306.80



New Factory Sealed AB 1747-L532 SER E SLC 500 PLC Processor Unit Module 1747L532 picture

New Factory Sealed AB 1747-L532 SER E SLC 500 PLC Processor Unit Module 1747L532

$382.39







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