Trakteer.js
    Preparing search index...

    Interface TcpSocketConnectOpts

    interface TcpSocketConnectOpts {
        onread?: OnReadOpts;
        port: number;
        host?: string;
        localAddress?: string;
        localPort?: number;
        hints?: number;
        family?: number;
        lookup?: LookupFunction;
        noDelay?: boolean;
        keepAlive?: boolean;
        keepAliveInitialDelay?: number;
        autoSelectFamily?: boolean;
        autoSelectFamilyAttemptTimeout?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    onread?: OnReadOpts

    If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket. Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will still be emitted as normal and methods like pause() and resume() will also behave as expected.

    port: number
    host?: string
    localAddress?: string
    localPort?: number
    hints?: number
    family?: number
    noDelay?: boolean
    keepAlive?: boolean
    keepAliveInitialDelay?: number
    autoSelectFamily?: boolean

    v18.13.0

    autoSelectFamilyAttemptTimeout?: number

    v18.13.0