code: def get_client_sock(addr):
      "Get a client socket"
      s = _socket.create_connection(addr)
      s.setsockopt(_socket.SOL_SOCKET, _socket.SO_REUSEADDR, True)
      s.setblocking(False)
      return f get_client_sock(addr):
      "Get a client socket"
      s = _socket.create_connection(addr)
      s.setsockopt(_socket.SOL_SOCKET, _socket.SO_REUSEADDR, True)
      s.setblocking(False)
      return s
docs: Get a client socket