mail_slot
A Rust implementation of the Windows Mailslot API
Usage
The mailslot api is a Single Consumer Multiple Sender IPC system natively supported by windows. A single server can listen to a mail slot and any number of clients. Below is a naive example that counts to 10, printing the numbers to the terminal.
use ;
let name = local;
let mut server = new.unwrap;
let mut client = new.unwrap;
for i in 0..10
while let Some = server.get_next_unread.unwrap