BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-01-2009, 02:28 AM   #1 (permalink)
New Member
 
Join Date: Sep 2009
Model: 8830
PIN: N/A
Carrier: student
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default SocketConnection.acceptandOpen(); issue

Please Login to Remove!

i want to listen connection from embeded browser via port, for that i write code

scn = (ServerSocketConnection) Connector.open("socket://:8080");

sc = (SocketConnection) scn.acceptAndOpen();

but my application is blocked on accepAndOpen and not proceding further to reading inputStream.

and in this my client is browser, i opened socketConnection to reading any request come from browser.

please let me, if u find any solution for it.
or any other way to achive 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

15 PCS BLACKBERRY M-S1 BLACKBERRY BOLD BATTERY (BAT-14392-001) BATTERIES
$3.99
15 PCS BLACKBERRY M-S1 BLACKBERRY BOLD BATTERY (BAT-14392-001) BATTERIES pictureRIM ASY-07559-001 PSM05R-050CHW BLACKBERRY TRAVEL CHARGER ADAPTER QUANTITY
$25.0
RIM ASY-07559-001 PSM05R-050CHW BLACKBERRY TRAVEL CHARGER ADAPTER QUANTITY pictureRESEARCH IN MOTION RIM PSM04A-050RIMC 5V BLACKBERRY AC ADAPTER CHARGER
$20.0
RESEARCH IN MOTION RIM PSM04A-050RIMC 5V BLACKBERRY AC ADAPTER CHARGER pictureNew BlackBerry Icon Mouse Pad Mats Mousepad Hot Gift
$10.91
New BlackBerry Icon Mouse Pad Mats Mousepad Hot Gift picture12 cans ZEP Meter Mist mandarian + blackberry + vanilla
$43.99
12 cans ZEP Meter Mist mandarian + blackberry + vanilla picture






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