_status::state_t);
   virtual void <strong>on_add_peer</strong> (tcp::endpoint const&amp;,
      peer_source_flags_t, add_peer_flags_t);

   static constexpr add_peer_flags_t <strong>first_time</strong>  = 1_bit;
   static constexpr add_peer_flags_t <strong>filtered</strong>  = 2_bit;
};
</pre>
<a name="new_connection()"></a><span class="report-issue">[<a href="http://github.com/arvidn/libtorrent/issues/new?title=docs:torrent_plugin%3A%3A%5Bnew_connection%28%29%5D&labels=documentation&body=Documentation+und