[mythtv] Java Sockets to Myth - waiting for thread

David Whyte david.whyte at gmail.com
Sat Feb 26 09:57:04 UTC 2005


Bollocks!!!  Forgot the attachment!


On Sat, 26 Feb 2005 19:56:11 +1000, David Whyte <david.whyte at gmail.com> wrote:
> 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
> 


-- 
GMAIL is 'da bomb baby....YEAH

I have GMail invites, if you want one, email me direct.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BackendTest.java
Type: text/x-java
Size: 3809 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20050226/066889bd/BackendTest.java


More information about the mythtv-dev mailing list