free_port: Retrieve a Transmission Control Protocol (TCP) port that is...

View source: R/free_port.R

free_portR Documentation

Retrieve a Transmission Control Protocol (TCP) port that is not currently in use

Description

Retrieve a Transmission Control Protocol (TCP) port that is not currently in use

Usage

free_port(random)

Arguments

random

Boolean value that defaults to FALSE

Value

An integer vector of length one

Examples

## Not run: 
  free_port()
  free_port(random = TRUE)

## End(Not run)


netstat documentation built on Aug. 28, 2022, 9:05 a.m.