title: Python - Passing a TCP socket object to a multiprocessing Queue
body: <p>I have a TCP server and client. At some point in the server script, I start a process, which needs to be able to get every new connection and send data to it. In order to do so, I have a <code>multiprocessing.Queue()</code>, to which I want to put every new connection from the main process, so that the process I opened can get the connections from it and send data to them. However, it seems that you cannot pass anything you want to a Queue. When I try to pass the connection (a socket object), I get:</p>
  
  <pre><code>Traceback (most recent call last):
    File "/usr/lib/python2.7/multiprocessing/queues.py", line 266, in _feed
      send(obj)
  TypeError: expected string or Unicode object, NoneType found
  </code></pre>
  
  <p>Are there any alternatives that I could use?</p>