CFSocketCreate

Function CFSocketCreate 

Source
pub unsafe extern "C-unwind" fn CFSocketCreate(
    allocator: Option<&CFAllocator>,
    protocol_family: i32,
    socket_type: i32,
    protocol: i32,
    call_back_types: CFOptionFlags,
    callout: CFSocketCallBack,
    context: *const CFSocketContext,
) -> Option<CFRetained<CFSocket>>
👎Deprecated: renamed to CFSocket::new
Available on crate features CFData and CFSocket only.