BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 09-01-2009, 03:28 AM   #1 (permalink)
New Member
Join Date: Sep 2009
Model: 8830
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)"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.
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
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.