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  




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