class="section" id="on-unknown-message">
<h2>on_unknown_message()</h2>
<pre class="literal-block">
virtual bool <strong>on_unknown_message</strong> (int <em>/*length*/</em>, int <em>/*msg*/</em>,
      span&lt;char const&gt; <em>/*body*/</em>);
</pre>
<p>this is not called for web seeds</p>
<a name="on_piece_pass()"></a>
<a name="on_piece_failed()"></a><span class="report-issue">[<a href="http://github.com/arvidn/libtorrent/issues/new?title=docs:peer_plugin%3A%3A%5Bon_piece_pass%28%29+on_piece_failed%28%29%