[Simpleweb-Support] Support for http over UDP, bluetooth...
Brought to you by:
niallg
|
From: Laurent M. <lma...@sm...> - 2010-12-10 20:13:24
|
Hi,
First thanks for creating this project, this is really cool, clean
and powerful.
I just have a question : is it possible tu use something else than
TCP/IP to communicate ? Like a BluetoothSocket / BluetoothServerSocket ?
The server behavior a little bit different from what I have seen
usually. You can create a server with few lines of code :
Connection connection = new SocketConnection(new Controller());
SocketAddress address = new InetSocketAddress(port);
connection.connect(address);
What would be the best way to support another protocol ? implement a new
SocketAddress, a new Server or Transport ?
Thanks for your help.
Laurent.
|