Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Academic Developer Network

Reply
Contributor
gioconno
Posts: 14
Registered: ‎12-09-2011
My Device: BlackBerry Bold 9000 ( v4.6.0.303, Platform 4.0.0.248)

Create a server

Hi,

for my thesis I'm coding an app that exchanges a small amount of data between two BB devices (BB 9000) using wi-fi transport. I've tried to implement a basic socket server (like this http://http://docs.oracle.com/javase/tutorial/networking/sockets/clientServer.html), but the ServerSocket class (and its path java.net) is not recognized with the BlackBerry JRE library.

Is it possible to implent a _very_ simple server on a BB device?

Thanks.