Learn R Programming

netstat (version 0.1.2)

ports_in_use: Obtain the TCP ports currently in use

Description

Obtain the TCP ports currently in use

Usage

ports_in_use()

Arguments

Value

An integer vector of the TCP ports currently in use

Examples

Run this code
if (FALSE) {
  (active_ports <- ports_in_use())
}

Run the code above in your browser using DataLab