BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 05-15-2008, 02:21 PM   #1
Larry Peng
New Member
 
Join Date: Apr 2008
Model: 8120
PIN: N/A
Carrier: rogers
Posts: 4
Default Issue on ServerSocket

Please Login to Remove!

Hi,
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) Connector.open("socket://:1234;deviceside=true); scs = (SocketConnection) scn.acceptAndOpen(); it stop on scn.acceptAndOpen(); wont go further step. Also I tried to add APN with Connector.open like this ServerSocketConnection scn = (ServerSocketConnection) Connector.open("socket://:1234;deviceside=true;apn=blackberry.net"); 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 02:55 PM..
Offline  
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Voltage Electricity Tester Volt Detector Test Pen AC Non-Contact Sensor 90-1000V picture

Voltage Electricity Tester Volt Detector Test Pen AC Non-Contact Sensor 90-1000V

$15.94



IDEAL VOL-CON XL Voltage/Continuity Tester 61-086 NEW picture

IDEAL VOL-CON XL Voltage/Continuity Tester 61-086 NEW

$99.90



5pcs DC 2.4-30V 2-Wire Voltmeter 3-Digit LED Display Volt Meter Voltage Tester picture

5pcs DC 2.4-30V 2-Wire Voltmeter 3-Digit LED Display Volt Meter Voltage Tester

$8.99



12-1000V Dual Sensitivity Electrical Tester Pen Non-Contact AC Voltage Detector picture

12-1000V Dual Sensitivity Electrical Tester Pen Non-Contact AC Voltage Detector

$13.99



Power Queen 500A Battery Monitor with Shunt High Low Voltage Programmable Alarm picture

Power Queen 500A Battery Monitor with Shunt High Low Voltage Programmable Alarm

$57.99



12V Digital LED Display Voltmeter Voltage Gauge Panel Meter for Car Motorcycle picture

12V Digital LED Display Voltmeter Voltage Gauge Panel Meter for Car Motorcycle

$6.49







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