09-01-2009, 03:28 AM
Join Date: Sep 2009
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | 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.