How to read a tool analog input over TCP/IP?

@engelhard

The client interfaces on port 30001, 30002 and 30003 can receive individual script codes.
They constantly transmit Robot State message + some additional data depending on which interface is chosen.
Check out this topic and this Support Site article which elaborates on the client interfaces.

Generally it could be a long streak to write a communication handler for the data received from the client interfaces.
Maybe sending a small script program that opens a socket and returns the tool input state would be easier.