privateV4: Get your private ip address v4

Description Usage Arguments Details Value

Description

Get your private ip address v4

Usage

1
privateV4(throw = TRUE)

Arguments

throw

Logical. In case your ip address could not be resolved should an error be thrown?

Details

Calls ipconfig on Windows, ifconfig on OSX, in both cases followed by regex parsing; hostname -I on Linux with out any further parsing.

Value

Character. Private ip address; if !throw NULL on failure.


chiefBiiko/getMyIp documentation built on May 30, 2019, 8:28 a.m.