I am trying to use the socket.io javascript lib in a BrowserComponent (that 
is not displayed).
When I send a message (=emit) to the server, everything is working fine. 
The server correctly receve the emited packet. However, when the server try 
to answer, it fails with a "connection timeout" error (and the packet is 
never received by the codename one app, that I run in the simulator). The 
connection between the cn1 app and the server is still active though as, if 
I kill the simulator (that runs the cn1 app), the server is correctly able 
to detect that the connection has just been closed. 
Any idea of what may be the reason of this "connection timeout" error (the 
server is not at cause here as it works just well with a react-native app 
that I am trying to port to cn1)? Anyone already succeed using socket.io 
with the BrowserComponent?

-- 
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/11974af7-04a8-4432-8aff-fe7043e2e654%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to