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)


stevecondylios/netstat documentation built on Oct. 20, 2022, 9:07 p.m.