Function ntcore_sys::NT_PollConnectionListener
[−]
[src]
pub unsafe extern "C" fn NT_PollConnectionListener(
poller: NT_ConnectionListenerPoller,
len: *mut usize
) -> *mut NT_ConnectionNotification
Get the next connection event. This blocks until the next connect or disconnect occurs. 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) @return Array of information on the connection events. Only returns NULL if an error occurred (e.g. the instance was invalid or is shutting down).