Structs§
Enums§
Functions§
- create_
socket - Creates a std::net::UdpSocket on a random open UDP port. The range of valid ports is from 0 to 65535 and if the function cannot find a open port within 100 different random ports it returns an error.
- incr_
block_ num - Increments the block number and handles wraparound to 0 instead of overflow.