Description Usage Arguments Value
Check whether a TCP port can be opened or not
1 | canPortBeUsed(port)
|
port |
(integer) A TCP port in [0, 65535]. |
canPortBeUsed(port)
returns a logical indicating whether the port can
be opened or not, or cannot be queried. If the port can be opened,
then TRUE
is returned, if cannot be opened then FALSE
is returned,
which may happen if the port is used by another process.
If port querying is not supported, as in R (< 4.0.0), then NA
is
returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.