lc_ctx_ifx3
Set default interface for sockets and channels created with this context
Usage
#include <librecast/net.h>
void lc_ctx_ifx(lc_ctx_t *ctx, unsigned int ifx);
Compile and link with -llibrecast.
Library
Librecast library (liblibrecast, -llibrecast)
Overview
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.
Return value
The lc_ctx_ifx() function returns no value.
Errors
None.