macOS module

CFSocketCreate

procedureforeignSource
CFSocketCreate :: (
    allocator: CFAllocatorRef,
    protocolFamily: s32,
    socketType: s32,
    protocol: s32,
    callBackTypes: CFOptionFlags,
    callout: CFSocketCallBack,
    _context: *CFSocketContext
) -> CFSocketRef #foreign

Parameters

allocator: CFAllocatorRef
protocolFamily: s32
socketType: s32
protocol: s32
callBackTypes: CFOptionFlags
_context: *CFSocketContext

Returns

See also