WebSocket Server

38 views
Skip to first unread message

remon...@ordyx.com

unread,
Aug 3, 2018, 9:19:03 AM8/3/18
to CodenameOne Discussions
We need to have a WebSocket Server running on both iOS and Android. How can we get this accomplished using CodenameOne? Is there a library you recommend?

Thomas

unread,
Aug 3, 2018, 4:37:59 PM8/3/18
to CodenameOne Discussions
use the websockets cn1lib

remon...@ordyx.com

unread,
Aug 3, 2018, 5:01:56 PM8/3/18
to CodenameOne Discussions
Websockets cn1libn has server side socket support? I though it only supports client side websockets.

Shai Almog

unread,
Aug 4, 2018, 12:51:30 AM8/4/18
to CodenameOne Discussions
No it doesn't.

We have this cn1lib for webserver: https://github.com/shannah/CN1Webserver

But it doesn't support websockets AFAIK. I'm not sure how hard it would be to add websockets to the server. It should give you a starting point you can work with.
Reply all
Reply to author
Forward
0 new messages