TCPSocket
Hi all, I'm working on a TCPSocket with node.js
Here the little server script
http://pastie.org/1079880
It only display incoming message … nothing else for now …
And here my TD code
var tcp = Titanium.Network.createTCPSocket("localhost", 8124);
tcp.connect();
At this point the connexion is OK
But if I do : tcp.write("something") I have a 4s delay …
Then If I do tcp.write("something") again, nothing is displayed on server side.
I have tested the server with a JS client (node.js) and a ruby client. Both works well …
The Titanium.Network.TCPSocket seems to have a bug !!
Anyone had the same issue ?
3 Answers
-
Does the latest commit on github.com is about this bug ?
Commit "Fixes and improvements to TCP sockets."
Commit Link -
I have not been able to get TCPSocket to work at all either.
-
And me i am struggling getting this to work