Can you share a little bit more of your client source code.  It's hard to
comment without seeing more.

On Thu, Jul 13, 2017 at 4:44 AM, <[email protected]> wrote:

> 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
> <https://groups.google.com/d/msgid/codenameone-discussions/52b4daf2-fa2d-4d86-94de-4cd53c1b0711%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
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/CAGOYrKUH__2LYzSTTr4y4C7i_DSP59-_WhRX6Oz73CqgQa4ELg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to