• Callback is called when an error happens on the socket.

    Parameters

    • fd: number

      The socket handle.

    • func: LibertasNetErrorCallback

      The 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

    The fd handle can be reused. It is encouraged to reuse the fd. Thing-App still need to make another call to {link Libertas_NetConnect} to try to establish connection again.

Generated using TypeDoc