Skip to main content
Version: 9.0.2

sbio_create_receive_channel

int sbio_create_receive_channel(
const char *channel_name,
int flags,
sbio_channel_handle_t **handle);

Opens a Storyboard IO channel for receiving events. Note that this creates a secondary thread in the application so that receiving events do not block the main application.

Parameters

ParameterTypeDescription
channel_nameconst char *The name of the channel to open for receiving. 
flagsintAdditional flags, other than GRE_IO_TYPE_RDONLY, to open the channel with. 
handlesbio_channel_handle_t **A pointer to the storage location for a sbio_channel_handle_t structure used for storing channel information. 

Returns

TypeDescription
int0 on success and non-zero on failure.