[−][src]Function sunrise_kernel::ipc::port::new
pub fn new(_max_sessions: u32) -> (ServerPort, ClientPort)
Create a new Port pair. Those ports are linked to each-other: The server will receive connections from the client. A port may only have max_sessions sessions active at a given time.