1 unstable release
new 0.1.1 | Apr 2, 2025 |
---|
#65 in #port
51 downloads per month
5KB
51 lines
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
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.
Dependencies
~330KB