udpc_open()
#
Open a UDP communication channel.
Prototype
PUBLIC int udpc_open(
const char *address,
int port
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The IP address to bind or connect to. |
|
|
The port number for the UDP communication. |
Return Value
Returns a handle to the UDP channel on success, 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