[−][src]Function libeyelink_sys::eyelink_node_receive
pub unsafe extern "C" fn eyelink_node_receive(
node: *mut byte,
data: *mut c_void
) -> INT16
@ingroup messaging Checks for and gets the last packet received, stores the data and the node address sent from.
@remarks Data can only be read once, and is overwritten if a new packet arrives before the last packet has been read. @param node Address of the sender. @param data Pointer to a buffer to hold the data. @return \c 0 if successful, otherwise link error.
\b Example: See \c eyelink_node_send()
\sa \c eyelink_get_float_data(), \c eyelink_open_node() and \c eyelink_node_send()