[mythtv] Help with mythprotocol

Isaac Richards ijr at case.edu
Wed Nov 9 20:41:41 EST 2005


On Wednesday 09 November 2005 08:15 pm, Neil wrote:
> Having a rather frustrating time with the myth backend protocol at the
> moment!
>
> Been looking at these docs:
> http://www.mythtv.info/moin.cgi/MythProtocol_5f14
>
> Have coded a socket to the appropriate port on the backend server, and
> send the first command:
>
> 22      MYTH_PROTO_VERSION 19
>
> to which the server responds:
>
> 13      REJECT[]:[]19
>
> I would expect to see an ACCEPT message returned (I am, after all,
> specifying the version that it is expecting!) I realise that the length
> of the command "MYTH_PROTO_VERSION 19" is actually only 21 bytes, but if
> I send "21      MYTH_PROTO_VERSION 19", the server doesn't respond at
> all.
>
> Any help massively appreciated!

Well, the length should be 21 - make sure you're not terminating that string 
with anything.  Be helpful to see your code, if that's not it.

Isaac


More information about the mythtv-dev mailing list