Static Methodnmggithub.kass 3.2.4MachCore
send(_:to:receiving:ofMaxSize:from:options:timeout:)
Sends a message and receive a message.
static func send<ReceiveMessage>(_ message: Mach.Message, to remotePort: Mach.Port? = nil, receiving receiveType: ReceiveMessage.Type, ofMaxSize maxSize: Int = Mach.Message.defaultMaxReceiveSize, from receivePort: Mach.Port? = nil, options: consuming Mach.MessageOptions = [], timeout: mach_msg_timeout_t = 0) throws -> ReceiveMessage where ReceiveMessage : Mach.Message