TCP client in Firefox OS. No response from the server
问题 I'm developing an app for Firefox OS which should communicate with the server via TCP connection. You can see the code below (the only difference is that I substituted actual ip address and port with variable names and excluded the content of loginButes (actually, there is exactly 24 bytes there)). The problem is that I can see only "Sent successfully" in console. So I don't obtain any response from the server at all. As far as I understand, there might be two possible reasons of this issue: