Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

BlackBerry® OS Smartphones

New Developer
New Developer
Posts: 13
Registered: ‎09-03-2008
My Device: Not Specified

TCP socket and MDS/BES

Hi All,


We, in our app tried using the following statements by getting a reference from a blackberry document but the issue here is that following statement dint work.


the connection opening statements are:

1 socket://<ip> : <port>; // notice no deviceside param, on http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

the following line is written.

"If BlackBerry MDS is not available at the time of connection, the BlackBerry smartphone reverts to direct TCP".

but on emulator itself this is not happening, above statement works only when MDS is running on my system.


so my question is what will be the exact behaviour on device or on emulator


1 We provide deviceside param either TRUE or FALSE?

2 We dint provide it all, like above?

3 Is it carrier dependent?


Please sort our my problem, as this is eating up our time.