lc_ctx_ifx - set default interface for sockets and channels created with this context
Contents
Description
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.
Errors
None.
Library
Librecast library (liblibrecast, -llibrecast)
Name
lc_ctx_ifx - set default interface for sockets and channels created with this context
Return Value
The lc_ctx_ifx() function returns no value.
See Also
lc_ctx_new(3), lc_ctx_free(3), lc_socket_new(3), lc_channel_new(3) LIBRECAST 2023-07-23 LC_CTX_IFX(3)
Synopsis
#include<librecast/net.h>voidlc_ctx_ifx(lc_ctx_t*ctx,unsignedintifx);
Compile and link with -llibrecast.
