Thanks Sam, that's useful.
Personally I would really like there to be a better option than SNMP/TELNET. I've implemented both personally, and both are painful.
It would be so much easier if the console program that you're using when doing TELNET access was also available on a raw TCP socket.
You probably do a minimal implementation just by hooking up the unix inetd daemon to activate your program.
That would effectively result in a much nicer ASCII protocol, with minimal coding effort.
OK, so I'm glossing over some details like logging in, which your console program does not currently implement :-)
Regards, Noel Grandin