<br><br><div class="gmail_quote">On 24 February 2012 15:43, Mark Lord <span dir="ltr"><<a href="mailto:mythtv@rtr.ca">mythtv@rtr.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 12-02-24 09:40 AM, Mark Lord wrote:<br>
> On 12-02-24 09:22 AM, Sven Bretfeld wrote:<br>
> ..<br>
>> I have only two lines:<br>
>><br>
>> 2012-02-24 15:20:31.318 MainServer::HandleVersion - Client did not pass<br>
>> protocol token. Refusing connection!<br>
>> 2012-02-24 15:20:31.371 MainServer, Warning: Unknown socket closing<br>
>> MythSocket(0xffffffffa9302740)<br>
><br>
> That's due to a peculiar bit of code added post-release to 0.24,<br>
> which wants a "magic number" as well as the correct version.<br>
> This appears to be designed to make it difficult for out-of-tree<br>
> code to talk to the backend.<br>
><br>
> So dig around in the source code, find the magic number, and pass it along.<br>
> That number will change from time to time, creating a bit of a maintenance<br>
> headache for no good reason.<br>
<br>
</div>Here's the magic number for current .git versions of 0.24-fixes:<br>
<br>
#define MYTH_PROTO_TOKEN "3875641D"<br>
<br>
Just stick it onto the end of the line, with a space between it<br>
and the protocol version number that you already have.<br></blockquote><div><br></div><div>Thank you all for your help. Actually, I did try to pass the token but a typo in the subclasses for specific protocol implementations made it not appear on the socket.</div>
<div><br></div><div>I will try to find some time to release a new (tested(?)) version this weekend.</div><div><br></div><div>Btw, I haven't heard any success-stories. Didn't anyone get it working?</div><div><br></div>
<div>/Fredrik</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br>