[mythtv] Java Sockets to Myth - waiting for thread
David Whyte
david.whyte at gmail.com
Thu Feb 24 21:02:37 UTC 2005
Hey Yan,
Yeah, I actually have this working now. The major problem *I* found
was the use of the DataOutputStream instead of a PrintStream. This
cause problems because you would write to the Socket as bytes.
I just need to clean up the code, and then I will post it for others
to play with if they like.
Regards,
Dave
On Thu, 24 Feb 2005 07:35:02 -0800, Yan-Fa Li <yanfali at best.com> wrote:
>
>
> David Whyte wrote:
> >
> > I have attached the Java code incase anyone wanted to take a look, but
> > any other pointers would be great.
> >
> > Cheers,
> > Whytey
> >
> >
>
> Hi,
>
> This might sound a bit stupid, but have you looked at the network output
> using something like ethereal ? I have a sneaky suspicion that you
> might be sending 16 bit character strings instead of 8 bytes ones
> because java defaults to 2 byte characters for Strings. Ethereal might
> show that in the trace.
>
> Yan
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
--
GMAIL is 'da bomb baby....YEAH
I have GMail invites, if you want one, email me direct.
More information about the mythtv-dev
mailing list