[mythtv] Java Sockets to Myth - waiting for thread

David Whyte david.whyte at gmail.com
Sat Feb 26 09:56:11 UTC 2005


For the folks that asked me for the Java code that was developed to
poke at the Mythbackend via Java Sockets, it is attached.

I have to say a big thanks to Bill Jackson as he did a *heap* of
debugging to figure out why it wouldn't work.  It turned out that we
were only sending one byte at a time, but we fixed that by using the
PrintStream implementation of the OutputStream.

If you run the attached code, it will merely:
- Check the protocol version,
- Register with the backend and
- Unregister from the backend.

Any questions, fire away,

Regards,
Whytey


More information about the mythtv-dev mailing list