code: def pre_fork(self, process_manager):
          '''
          Pre-fork we need to create the zmq router device
          '''
          salt.transport.mixins.auth.AESReqServerMixin.pre_fork(self, process_manager)
          if USE_LOAD_BALANCER:
              self.socket_queue = multiprocessing.Queue()
              process_manager.add_process(
                  LoadBalancerServer, args=(self.opts, self.socket_queue)
              )
          elif not salt.utils.platform.is_windows():
              self._socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
              self._socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
              _set_tcp_keepalive(self._socket, self.opts)
              self._socket.setblocking(0)
              self._socket.bind((self.opts['interface'], int(self.opts['ret_port']))f pre_fork(self, process_manager):
          '''
          Pre-fork we need to create the zmq router device
          '''
          salt.transport.mixins.auth.AESReqServerMixin.pre_fork(self, process_manager)
          if USE_LOAD_BALANCER:
              self.socket_queue = multiprocessing.Queue()
              process_manager.add_process(
                  LoadBalancerServer, args=(self.opts, self.socket_queue)
              )
          elif not salt.utils.platform.is_windows():
              self._socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
              self._socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
              _set_tcp_keepalive(self._socket, self.opts)
              self._socket.setblocking(0)
              self._socket.bind((self.opts['interface'], int(self.opts['ret_port'])))
docs: Pre-fork we need to create the zmq router device