vban - v1.4.1

    Interface IVBANServerOptions

    interface IVBANServerOptions {
        application?: {
            applicationName?: string;
            applicationType?: EServicePINGApplicationType;
            bitFeatureEx?: number;
            color?: { blue: number; green: number; red: number };
            deviceName?: string;
            features?: EServicePINGFeatures[];
            GPSPosition?: string;
            hostname?: string;
            langCode?: string;
            manufacturerName?: string;
            maxRate?: number;
            minRate?: number;
            nVersion?: number;
            PreferredRate?: number;
            userComment?: string;
            userName?: string;
            userPosition?: string;
        };
        autoReplyToPing?: boolean;
        beforeProcessPacket?: (msg: Buffer, sender: RemoteInfo) => boolean;
    }
    Index

    Properties

    application?: {
        applicationName?: string;
        applicationType?: EServicePINGApplicationType;
        bitFeatureEx?: number;
        color?: { blue: number; green: number; red: number };
        deviceName?: string;
        features?: EServicePINGFeatures[];
        GPSPosition?: string;
        hostname?: string;
        langCode?: string;
        manufacturerName?: string;
        maxRate?: number;
        minRate?: number;
        nVersion?: number;
        PreferredRate?: number;
        userComment?: string;
        userName?: string;
        userPosition?: string;
    }
    autoReplyToPing?: boolean

    will auto send a reply when another app will send a ping

    beforeProcessPacket?: (msg: Buffer, sender: RemoteInfo) => boolean

    Return false to stop processing the packet

    MMNEPVFCICPMFPCPTTAAATR