BlackBerry Forums Support Community

Closed Thread
LinkBack Thread Tools
Old 06-23-2008, 09:55 AM   #1 (permalink)
Thumbs Must Hurt
Join Date: Apr 2008
Model: 7100T
Carrier: idk
Posts: 84
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default BES Port

Please Login to Remove!

Hi everyone.

I have an application that receive data from BES.
I am using the streamconnectionNotifier...

mConnNotify = (StreamConnectionNotifier)"http://:" + mHandheldPort + ";deviceside=false",Connector.READ_WRITE);
I was wondering if it was possible to retrieve the BES port on which the blackberry listens so that the user wouldn't have to enter it in the configurations of the application.

We tested the port already... we just need to retrieve it...
Is it possible?

To me, it seems not since I've always been taught that every applications listen to different port (at least in C++ lol) so there's no "default port on which every application listens to"

Thanks in advance...
Stop telling me what it can do...
Show me how to make it do it!!!!

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