title: Identifying the origin of ZMQ messages?
body: <p>If I receive a message via the recv() method on a <a href="http://zeromq.org" rel="nofollow">ZeroMQ</a> (0MQ) socket...</p>
  
  <pre><code>data = s.recv()
  </code></pre>
  
  <p>...is there any way for me to get at the value of <code>getpeername()</code> for the underlying socket?  My goal is to identify the origin of the message in a way that does not rely on the sender to provide accurate information.</p>
  
  <p>I'm using ZMQ (via Python) to collect host metrics, and the address of the sender from the perspective of the receiver is a useful identifier.</p>
  
  <p>Or is this just a Bad Idea?</p>