[][src]Module tari_test_utils::address

Functions

get_next_local_address

Returns a local address with the next port in specified range.

get_next_local_port

Maintains a counter of ports within a range (40000..48000), returning them in sequence. Port numbers will wrap back to 40000 once the upper bound is exceeded.