CFStreamCreatePairWithSocketToCFHost

Function CFStreamCreatePairWithSocketToCFHost 

Source
pub unsafe extern "C-unwind" fn CFStreamCreatePairWithSocketToCFHost(
    alloc: Option<&CFAllocator>,
    host: &CFHost,
    port: i32,
    read_stream: *mut *mut CFReadStream,
    write_stream: *mut *mut CFWriteStream,
)
๐Ÿ‘ŽDeprecated: Use Network framework instead
Available on crate features CFHost and CFSocketStream only.
Expand description

ยงSafety

  • read_stream must be a valid pointer or null.
  • write_stream must be a valid pointer or null.