Libertas OS API Documentation
    Preparing search index...

    Function Libertas_NetWriteUdp

    • Write data to UDP socket.

      Parameters

      • fd: number

        A socket handle.

      • data: LibertasNetWriteData

        The data blob.

      • addr: string
      • Optionalpos: number

        Te start position, always zero based!

      • Optionallength: number

        The length to write.

      Returns void

      If it's called before the socket is ready, an exception will be raised. It is clearly an application bug severe enough to terminate task to draw attention. See LibertasNetEvent.Ready and Libertas_SetOnNet for more details.