Function gnunet_sys::GNUNET_NETWORK_socket_box_native [−][src]
pub unsafe extern "C" fn GNUNET_NETWORK_socket_box_native(
fd: c_int
) -> *mut GNUNET_NETWORK_Handle
Box a native socket (and check that it is a socket).
@param fd socket to box @return NULL on error (including not supported on target platform)