free_port {netstat}R 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)


[Package netstat version 0.1.2 Index]