If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Desktop OS Simulator Device
Our client needs to maintain a socket connection to the server. (Plain socket, not web socket) Then I found the doc: https://www.codenameone.com/javadoc/com/codename1/io/Socket.html I see there is only `listen()` without `read()` and `send()` Our use cases are simple, client sends some `commands` to the server, and the response, and render them on the UI. Where could I find an example to implement this `read()` and `send()` method? Or at least some hints. I checked the developer guide `11.13. Sockets` too. Looks like I need to implement a `SocketListenerCallback` class, and doing `send()` and `read()` in the `connectionEstablished(InputStream is, OutputStream os)`, right? but that's one function, how to implement the `send()` and `read()` via that, or is there a better way? And it should be cross-platformable, right? Thanks -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/e475f5f4-7ca8-4141-8a3b-7fa390bab2d0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
