pub unsafe extern "C" fn udsSetNewConnectionsBlocked(
    block: bool,
    clients: bool,
    flag: bool
) -> Result
Expand description

This uses udsUpdateNetworkAttribute() for (un)blocking new connections to this host.

§Arguments

  • block - When true, block the specified connection types(bitmask set). Otherwise allow them(bitmask clear).
  • clients - When true, (un)block regular clients.
  • flag - When true, update UDSNETATTR_x4. Normally this should be false.