code: def __get_instructions(self):
          "Get info from sockets"
          if self.mode == 'c':
              c, m = utils.recv(self.__s)
              inst = [(c, m, self.__s)]
          else:
              inst = []
              with self.__client_list_lock:
                  for com in self.clients:
                      c, m = utils.recv(com)
                      if c is not None:
                          inst.append((c, m, com))
          return insf __get_instructions(self):
          "Get info from sockets"
          if self.mode == 'c':
              c, m = utils.recv(self.__s)
              inst = [(c, m, self.__s)]
          else:
              inst = []
              with self.__client_list_lock:
                  for com in self.clients:
                      c, m = utils.recv(com)
                      if c is not None:
                          inst.append((c, m, com))
          return inst
docs: Get info from sockets