Post 3 made on Monday October 19, 2009 at 17:12 |
Janci Lurking Member |
Joined: Posts: | October 2009 5 |
|
|
I used this code and it does not work. I think that I have no connection, because I do not write anything, and I do not read anything as well.
var socket = new TCPSocket(false); var station = ""; socket.onConnect = function() { write("command); }; socket.onData = function() { station += read(); }; socket.connect('192.168.1.9', 1111, 3000);
What am I doing wrong? I am totally hopeless. Any idea?
Thank you
|
|
|