title: Check if there is a message received or skip it (python 3.4)
body: <p>I would like to ask how to skip the receive function.</p>
  
  <pre><code>def client():
      try:
          b = bytes.decode(h.recv(1024))
          print("The recieved message : ",b)
          b1 = str.encode(b)
          c.sendall(b1)
          h.sendall(b1)
          y.sendall(b1)
      except Exception:
          pass
      try:
          g = bytes.decode(y.recv(1024))
          print("The recieved message : ",g)
          g1 = str.encode(g)
          c.sendall(g1)
          h.sendall(g1)
          y.sendall(g1)
      except Exception:
          pass
  </code></pre>
  
  <p>So what I need to do is to check if there is a message coming from the client:</p>
  
  <ul>
  <li>If yes, print it and send it.</li>
  <li>if no, skip the function go to check with the other clients.</li>
  </ul>