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 3 made on Thursday July 9, 2020 at 00:32
mpg7321
Regular Member
Joined:
Posts:
June 2020
74
I have the IP2SL iTach TCP/IP to Serial (RS232). I don't know java and just starting to learn. I understand what your saying but need samples to learn form. Thanks for your help. I can control it from Python but do not know how to convert it to JAVA. Here is a sample in Python,


sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
HOST = '192.168.1.6'
PORT = 4999
sock.connect((HOST, PORT))
sock.settimeout(10)
sock.sendall("!1MVLUP\x0D\r")
Volume = sock.recv(4096)[2:-1]
sock.close()
del sock


Hosting Services by ipHouse