Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 8 made on Tuesday November 30, 2010 at 04:05
lscolman2
Long Time Member
Joined:
Posts:
July 2003
216
Do you gentlemen think this should do the job?

var socket = new TCPSocket(false);
socket.onConnect = function()
{
socket.write("GET /web/remotecontrol?command=6 HTTP/1.1\r\n\r\n")
socket.write("GET /web/remotecontrol?command=2 HTTP/1.1\r\n\r\n")
socket.write("GET /web/remotecontrol?command=2 HTTP/1.1\r\n\r\n")
socket.close();
};
socket.onClose = function()
{
};
socket.onIOError = function(e)
{
label = "Error: " + e;
};
socket.connect('192.168.0.3',80,3000);

I'll give it a go when I get home tonight.

Cheers, Lee


Hosting Services by ipHouse