udpc_start_up()

udpc_start_up()#

udpc_start_up() initializes the UDP client system by setting process-related metadata and preparing internal structures.

Prototype

int udpc_start_up(
    const char *process_name,
    const char *hostname,
    int         pid
);

Parameters

Key

Type

Description

process_name

const char *

The name of the process using the UDP client.

hostname

const char *

The hostname of the system running the UDP client.

pid

int

The process ID of the calling process.


Return Value

Returns 0 on success, or -1 if the system is already initialized.

Notes

This function must be called before using udpc_open() or other UDP client functions.

Prototype

// Not applicable in JS

Prototype

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