View Single Post
  (#8 (permalink)) Old
Larry Peng Offline
New Member
 
Posts: 4
Join Date: Apr 2008
Model: 8120
PIN: N/A
Carrier: rogers
Default ServerSocket no response - 05-15-2008, 03:03 PM

Hi,
I am newer of blackberry and I am trying to run up a servers ocket port on simulator 8210 and trying to connect it from a Java application side with new socket("IP",1234), on Java application side, I can get the remote Server Ip address and port number, but stop on read from inputstream, on Simulator(Server) side, there is no any response at all, code is: ServerSocketConnection scn = (ServerSocketConnection) Connector.open("socket://:1234;deviceside=true); scs = (SocketConnection) scn.acceptAndOpen(); it stop on scn.acceptAndOpen(); wont go further step. Can anybody help me this? what is wrong? do I need to set any others? I appreciate very much.

Last edited by Larry Peng : 05-15-2008 at 03:17 PM.
   
Reply With Quote