udpc_open()

udpc_open()#

Open a UDP communication channel.

Prototype

PUBLIC int udpc_open(
    const char  *address,
    int          port
);
        

Parameters

Key

Type

Description

address

const char *

The IP address to bind or connect to.

port

int

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