Function ntcore_sys::NT_PollConnectionListenerTimeout [] [src]

pub unsafe extern "C" fn NT_PollConnectionListenerTimeout(
    poller: NT_ConnectionListenerPoller,
    len: *mut usize,
    timeout: f64,
    timed_out: *mut NT_Bool
) -> *mut NT_ConnectionNotification

Get the next connection event. This blocks until the next connect or disconnect occurs or it times out. This is intended to be used with NT_AddPolledConnectionListener(); connection listeners created using NT_AddConnectionListener() will not be serviced through this function. @param poller poller handle @param len length of returned array (output) @param timeout timeout, in seconds @param timed_out true if the timeout period elapsed (output) @return Array of information on the connection events. If NULL is returned and timed_out is also false, an error occurred (e.g. the instance was invalid or is shutting down).