Usage
findFreePort(start = 1000L, random = FALSE)
Arguments
- start
The starting port number to begin searching from
- random
Logical indicating whether to return a random available port or the first available port
Value
The first available free port number
Examples
findFreePort(6000L, TRUE)
#> Error in findFreePort(6000L, TRUE): could not find function "findFreePort"
findFreePort(6000L)
#> Error in findFreePort(6000L): could not find function "findFreePort"