BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 08-19-2008, 08:04 AM   #1 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8120
PIN: N/A
Carrier: rogers
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default can ServerSocket run on BlackBerry device?

Please Login to Remove!

I want to know how to run a ServerSocket port on BlackBerry device, I tried the following code on BB simulator 8210 and use new Socket("socket://1234") to connect it, it does not work, can any one help me this with sample code?
thanks alot.
ServerSocketConnection scn = (ServerSocketConnection) Connector.open("socket://:1234;deviceside=true); scs = (SocketConnection) scn.acceptAndOpen();
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Measurement Computing PCI-DAS1602/16 Analog and Digital I/O Board
$250.0
Measurement Computing PCI-DAS1602/16 Analog and Digital I/O Board pictureExtron RGB-190F Universal Analog Computer-Video Interface
$50.0
Extron RGB-190F Universal Analog Computer-Video Interface pictureExtron RGB 202xi ADSP Universal Analog, ECL and TTL Computer-Video Interface
$24.17
Extron RGB 202xi ADSP Universal Analog, ECL and TTL Computer-Video Interface pictureExtron RGB 109xi VGA Computer Audio Video Analog Interface with ADSP
$19.99
Extron RGB 109xi VGA Computer Audio Video Analog Interface with ADSP pictureMEASUREMENT COMPUTING ANALOG & DIGITAL I/O DAQ PCI BOARD PCIM-DAS1602/16
$399.99
MEASUREMENT COMPUTING ANALOG  & DIGITAL I/O DAQ PCI BOARD PCIM-DAS1602/16 picture






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