<br><br><div class="gmail_quote">On 24 February 2012 15:43, Mark Lord <span dir="ltr">&lt;<a href="mailto:mythtv@rtr.ca">mythtv@rtr.ca</a>&gt;</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>
&gt; On 12-02-24 09:22 AM, Sven Bretfeld wrote:<br>
&gt; ..<br>
&gt;&gt; I have only two lines:<br>
&gt;&gt;<br>
&gt;&gt; 2012-02-24 15:20:31.318 MainServer::HandleVersion - Client did not pass<br>
&gt;&gt; protocol token. Refusing connection!<br>
&gt;&gt; 2012-02-24 15:20:31.371 MainServer, Warning: Unknown socket closing<br>
&gt;&gt; MythSocket(0xffffffffa9302740)<br>
&gt;<br>
&gt; That&#39;s due to a peculiar bit of code added post-release to 0.24,<br>
&gt; which wants a &quot;magic number&quot; as well as the correct version.<br>
&gt; This appears to be designed to make it difficult for out-of-tree<br>
&gt; code to talk to the backend.<br>
&gt;<br>
&gt; So dig around in the source code, find the magic number, and pass it along.<br>
&gt; That number will change from time to time, creating a bit of a maintenance<br>
&gt; headache for no good reason.<br>
<br>
</div>Here&#39;s the magic number for current .git versions of 0.24-fixes:<br>
<br>
     #define MYTH_PROTO_TOKEN &quot;3875641D&quot;<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&#39;t heard any success-stories. Didn&#39;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>