proc-ctl 0.4.1

A helper library for querying and manipulating processes
Documentation
1
2
3
4
5
6
use std::net::TcpListener;

fn main() {
    let listener = TcpListener::bind("127.0.0.1:0").unwrap();
    listener.accept().unwrap();
}