pub unsafe extern "C" fn aeron_publication_channel_status(
    publication: *mut aeron_publication_t,
) -> i64
Expand description

Get the status of the media channel for this publication.

The status will be ERRORED (-1) if a socket exception occurs on setup and ACTIVE (1) if all is well.

@param publication to check status of. @return 1 for ACTIVE, -1 for ERRORED