Post 3 made on Monday August 25, 2014 at 15:11 |
nohed Lurking Member |
Joined: Posts: | August 2014 7 |
|
|
thanks for interesting reading but still can not get it to work with my address.
might be completely wrong
//////////////////////////////////////////// // each socket = new TCPSocket (false); socket.onConnect = function () { socket.write ("GET / http: //@10.10.10.105/api/callAction? DeviceID = 36 & name = turnoff HTTP / 1.1 \ r \ n \ r \ n") socket.close (); }; socket.onClose = function () { }; socket.onIOError = function (e) { label = "Error:" + e; }; Socket.connect ('10 .10.10.105 ', 80); // // /////////////////////////////////////////////
|
|
|