• Set "ready" callback.

    Parameters

    • fd: number

      The socket handle.

    • func: LibertasNetCallback

      Callback function.

    • Optional tag: any

      Optional developer supplied value. The same value will be passed to the tag argument of callback function.

      Optional

    Returns void

    Remarks

    Socket write is allowed only after the "ready" event.

Generated using TypeDoc