SnmpKit.SnmpSim.TestHelpers.PortHelper (snmpkit v0.6.6)
Simple helper functions for port allocation in tests.
Summary
Functions
Get a port for testing, ensuring PortAllocator is started. Falls back to server port range if PortAllocator fails.
Get a range of ports for testing.
Release a port back to the pool.
Release a port range back to the pool.
Functions
Get a port for testing, ensuring PortAllocator is started. Falls back to server port range if PortAllocator fails.
Get a range of ports for testing.
Release a port back to the pool.
Release a port range back to the pool.