08-19-2008, 09:04 AM
Join Date: Apr 2008
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | 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?
ServerSocketConnection scn = (ServerSocketConnection) Connector.open("socket://:1234;deviceside=true); scs = (SocketConnection) scn.acceptAndOpen();