portpicker-ipv4

Crates.ioportpicker-ipv4
lib.rsportpicker-ipv4
version0.1.1
created_at2025-04-02 15:45:57.382586+00
updated_at2025-04-02 15:45:57.382586+00
descriptionPick a free unused IPV4 port -- forked from portpicker
homepage
repositoryhttps://github.com/whoiscadenyoung/portpicker-ipv4
max_upload_size
id1616751
size8,860
Caden Young (whoiscadenyoung)

documentation

README

Portpicker-ipv4 - Pick a free unused IPV4 port

Forked from Portpicker-rs. The information for that is down below. The API is the same but

Portpicker-rs - Pick a free unused port

Crates.io Documentation

Picks a free port, that is unused on both TCP and UDP.

Usage:

portpicker::pick_unused_port().expect("No ports free")

License

The Unlicense: free to use, modify, and distribute.

Commit count: 10

cargo fmt