@jstark/tplink-smarthome-api
    Preparing search index...

    Type Alias SendOptions

    Send Options.

    (ms)

    'tcp','udp'

    attempt to reuse a shared socket if available, UDP only

    (ms) how long to wait for another send before closing a shared socket. 0 = never automatically close socket

    local interface address to bind the outgoing TCP socket to (e.g. to pin a NIC on a multi-homed host). TCP only.

    local port to bind the outgoing TCP socket to. TCP only.

    type SendOptions = {
        localAddress?: string;
        localPort?: number;
        sharedSocketTimeout?: number;
        timeout?: number;
        transport?: "tcp" | "udp";
        useSharedSocket?: boolean;
    }
    Index
    localAddress?: string
    localPort?: number
    sharedSocketTimeout?: number
    timeout?: number
    transport?: "tcp" | "udp"
    useSharedSocket?: boolean