udpc_write()
#
Send data through a UDP communication channel.
Prototype
PUBLIC int udpc_write(
int handle,
const void *data,
size_t size
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The handle of the UDP channel to write to. |
|
|
The data to send. |
|
|
The size of the data in bytes. |
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