My app opens a socket, sets a timeout does some transaction, (typically request data from the server) closes the connection and processed the request I don't see an exposed method to set timeout in the builtin socket api
The lib version (https://github.com/shannah/CN1Sockets) works very well for my needs. Please advise On Thursday, July 13, 2017 at 12:30:56 AM UTC-4, Shai Almog wrote: > I don't know, I only use our builtin socket api and not the lib. > Maybe Steve knows. > > Closing a socket after every message will make your connection very slow. > You might as well use HTTPS which is generally better. I strongly recommend > avoiding sockets. > > -- 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/52b4daf2-fa2d-4d86-94de-4cd53c1b0711%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
