[−][src]Function libcoap_sys::coap_context_get_coap_fd
pub unsafe extern "C" fn coap_context_get_coap_fd(
context: *mut coap_context_t
) -> c_int
Get the libcoap internal file descriptor for using in an application's select() or returned as an event in an application's epoll_wait() call.
@param context The coap_context_t object.
@return The libcoap file descriptor or @c -1 if epoll is not available.