BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 05-15-2008, 03:21 PM   #1 (permalink)
New Member
Join Date: Apr 2008
Model: 8120
Carrier: rogers
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Issue on ServerSocket

Please Login to Remove!

I am newer of blackberry and I am trying to run up a server socket 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)"socket://:1234;deviceside=true); scs = (SocketConnection) scn.acceptAndOpen(); it stop on scn.acceptAndOpen(); wont go further step. Also I tried to add APN with like this ServerSocketConnection scn = (ServerSocketConnection)"socket://:1234;deviceside=true;"); it does not help either.
Can anybody help me this? what is wrong with it? do I need to set any others? I appreciate very much.

Last edited by Larry Peng : 05-15-2008 at 03:55 PM.
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.