LC_CTX_IFX(3) Librecast Programmer's Manual LC_CTX_IFX(3)

lc_ctx_ifx - set default interface for sockets and channels created with this context

Librecast library (liblibrecast, -llibrecast)

#include <librecast/net.h>
void lc_ctx_ifx(lc_ctx_t *ctx, unsigned int ifx);

Compile and link with -llibrecast.

The lc_ctx_ifx function sets the default interface to ifx for subsequent sockets and channels created with context ctx. A value of 0 for ifx means all interfaces.

The lc_ctx_ifx() function returns no value.

None.

lc_ctx_new(3), lc_ctx_free(3), lc_socket_new(3), lc_channel_new(3)

2023-07-23 LIBRECAST