@ac-essentials/misc-util
    Preparing search index...

    Type Alias UdpBindLockConfig

    type UdpBindLockConfig = {
        udpBindAddress?: string | null;
        udpBindPort: number;
        udpSocketType: "udp4" | "udp6";
    }
    Index

    Properties

    udpBindAddress?: string | null

    The address to bind the UDP socket to. Default is "localhost"

    Example: "localhost" or "127.1.2.3" (in which case udpSocketType should be "udp4") or "::1" (in which case udpSocketType should be "udp6").

    Note: Using "localhost" is generally safe as it resolves to both IPv4 and IPv6 loopback addresses, but if you want to be certain about the IP version, specify the address explicitly.

    udpBindPort: number

    The port to bind the UDP socket to.

    Should be a port that is unlikely to be used by other applications.

    udpSocketType: "udp4" | "udp6"

    The type of UDP socket to create, either "udp4" for IPv4 or "udp6" for IPv6.

    It should match the IP version of the udpBindAddress.