title: Using multiprocessing for confirm that the client has received the message
body: <p>I'm using the module socket for python, I did my server and my client but there is a problem: sometimes my client doesn't receive the message from the server, because I guess that the server sent the message before that the client is listening. I thought to do something like that:</p>
  <pre><code>HEADER = 64 
  FORMAT = 'utf-8'
  
  while(response =! &quot;received&quot;):
      client1.send(&quot;hello&quot;)
      response = client1.recv(HEADER).decode(FORMAT)
  </code></pre>
  <p>This can't work because the function recv() wait until the package come. I want to use the multiprocessing module, but I don't like how, can somebody help me?</p>