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

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 02:17 PM..
Offline   Reply With Quote