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

LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER
$1300.0
 LAMBDA LS SUTTER INSTRUMENT COMPANY XEON ARC LAMP W/ FILTER pictureDell Electronics PowerEdge 2950 Server (9424)
$25.0
Dell Electronics PowerEdge 2950 Server (9424) pictureHP xw6600 Workstation (2) XEON CPUs, 4-Core 3.00GHz, 32GB RAM, 512SSD & 1TB HDD
$1100.0
HP xw6600 Workstation (2) XEON CPUs, 4-Core 3.00GHz, 32GB RAM, 512SSD & 1TB HDD  pictureDedicated hosting from $ 99 / Xeon E3-1245v2 / 32GB DDR3 1333 MHz / 2x240 GB SSD
$99.99
Dedicated hosting from $ 99 / Xeon E3-1245v2 / 32GB DDR3 1333 MHz / 2x240 GB SSD pictureNEW Dell PowerEdge R720 Server x2 SAS 500GG 7.2K 8YTKX w/accesories
$1799.99
NEW Dell PowerEdge R720 Server x2 SAS 500GG 7.2K 8YTKX w/accesories picture






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