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
New Developer
caissyd
Posts: 4
Registered: 01-04-2010
My Carrier: Rogers

Does RIM have its version of Libpcap or WinPcap available on the Blackberry?

Hi,

 

Do you guys know if there is an equivalent to Libpcap or WinPcap available on the Blackberry?

This would make my life so much easier...

 

Thanks

Please use plain text.
Developer
RexDoug
Posts: 4,649
Registered: 07-21-2008

Re: Does RIM have its version of Libpcap or WinPcap available on the Blackberry?

No, there isn't. The BB device doesn't *really* have a traditional IP stack anyway.

 

We use Wireshark on the server side to snoop into the IP traffic between the device and server.

 

Please use plain text.
Developer
marchywka
Posts: 1,415
Registered: 07-30-2008

Re: Does RIM have its version of Libpcap or WinPcap available on the Blackberry?

ROFL. You really are new to wireless huh? Everyone tries to keep a secret- phone makers, carriers, etc.

You; think with all that stuff about public spectrum in the US they'd be a little more open.

LOL.

You are lucky if non-port 80 is open when you get an "internet' plan or if you can use the GPS

on your own phone.

 

Please use plain text.
Developer
Aviator168
Posts: 694
Registered: 09-10-2009
My Carrier: Verizon

Re: Does RIM have its version of Libpcap or WinPcap available on the Blackberry?

[ Edited ]

 


caissyd wrote:

Hi,

 

Do you guys know if there is an equivalent to Libpcap or WinPcap available on the Blackberry?

This would make my life so much easier...

 

Thanks


 

What are you trying do with a Java based OS anyway? Trying to turn the BB into a 3G router? :smileywink:  We are lucky to do what is allowed.

 

Please use plain text.
New Developer
caissyd
Posts: 4
Registered: 01-04-2010
My Carrier: Rogers

Re: Does RIM have its version of Libpcap or WinPcap available on the Blackberry?

Thanks guys,

 

I am indeed new to wireless. My background is developing web apps and I am more and more into information security. I thought I could write a tiny little and basic wireshark for the BB...

 

Thanks anyway!

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

Re: Does RIM have its version of Libpcap or WinPcap available on the Blackberry?

You need some degree of OS-level support to do packet capture, and that is not going to be exposed to you.

 

What you see in the API is essentially what you get, unless you want to shovel money at RIM to give you access to private APIs.

Please use plain text.
Developer
rcmaniac25
Posts: 1,713
Registered: 04-28-2009
My Carrier: Verizon

Re: Does RIM have its version of Libpcap or WinPcap available on the Blackberry?

...or the ability to develop in C/C++ for the BlackBerry.

------------------------------------------------------------
Three simple rules:
1. Please use the search bar before making new posts.
2. Kudo posts that you find helpful.
3. If a solution has been found for your post, mark it as solved.
--I code too much. Well, too bad.

Projects:
Bing 4 BlackBerry: http://bbing.codeplex.com/
PDF Renderer 4 BlackBerry: http://pdfrend4bb.codeplex.com/
Please use plain text.