• Set the net data callback. Callback will be called when the socket read some data from peer.

    Parameters

    • fd: number

      The socket handle.

    • func: LibertasNetDataCallback

      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

Generated using TypeDoc