BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-05-2007, 08:35 AM   #1 (permalink)
Thumbs Must Hurt
 
Rose's Avatar
 
Join Date: Nov 2006
Location: India
Model: 9700
OS: Windows 7
Carrier: Airtel
Posts: 121
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Regarding BBTransport

Please Login to Remove!

Hi,
I wanna know is there any technical articles available on How to send and retrieve data using BIS and BES.. I wanna to communicate thro BIS and BES. Is there any possibility to use direct socket connection..
Bcoz for me direct socket connection is not supported and i wanna overcome this..
Waiting for suggestions..
Offline  
Old 04-05-2007, 03:58 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Feb 2007
Model: 9000
Carrier: SFR
Posts: 48
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

First it depends on what kind of connection.

I believe that with http it will be more easy and straight. Perhaps you'll
have to handle proxies.

TCP socket connection with bes have three use case.
First you have an adequat data plan which allows a direct tcp connection. Problem with that (in us) is that this data plan could be expensive.
conn=(StreamConnection)Connector.open("socket://testserver:600;deviceside=true");
Second solution (whithout the data plan) your server is on the same network than your bes/mds so that goes straight.
Third solution (whithout the data plan) your server is in another network so you need to ask your admins to open connections.
You need to use the following connection:
conn=(StreamConnection)Connector.open("socket://testserver:600;deviceside=false");
perhaps your admin will need to provide some authorization (Use of persistent socket) I'm currently looking into that so this info is not 100% reliable.


please notice the particularity of socket connection where you wants to add "deviceside" parameter.
Offline  
Old 04-06-2007, 12:14 AM   #3 (permalink)
Thumbs Must Hurt
 
Rose's Avatar
 
Join Date: Nov 2006
Location: India
Model: 9700
OS: Windows 7
Carrier: Airtel
Posts: 121
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Thanx for ur reply... But seems like my carrier blocks it somehow. Im on BES .. Any suggestion to overcome this ..
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





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