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

Vintage Authorized Apple Computer sign banner flag
$60.0
Vintage  Authorized  Apple    Computer   sign   banner   flag pictureGenuine WESCO N6K universal joint cross 2.475" unknown appl. vintage driveline
$15.99
Genuine WESCO N6K universal joint cross 2.475Vintage Letterpress Print Type Ornament Apple for Teacher Adcut
$12.5
Vintage Letterpress Print Type Ornament Apple for Teacher Adcut pictureVintage Letterpress Print Type Ornament "An Apple A Day Bugs The A.M.A." Adcut
$12.5
Vintage Letterpress Print Type Ornament Vintage Letterpress Print Type Ornament Apple Missing One Bite Adcut
$9.5
Vintage Letterpress Print Type Ornament Apple Missing One Bite Adcut picture






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