udpc_fwrite()

udpc_fwrite()#

Send the contents of a file through a UDP communication channel.

Prototype

PUBLIC int udpc_fwrite(
    int          handle,
    FILE        *file
);
        

Parameters

Key

Type

Description

handle

int

The handle of the UDP channel to write to.

file

FILE *

The file to send through the UDP channel.


Return Value

Returns the number of bytes successfully sent, or a negative value on failure.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples