udp_echo: Send an echo request to an echo server

Description Usage Arguments Value See Also Examples

View source: R/echo.R

Description

Unfortunately, echo servers are not great things to be running on the public internet but you can stand one up locally if you don't know how to find one externally (as of 2019 there are ~300K ov them on the public internet).

Usage

1
udp_echo(host, payload = "hello", port = 7L)

Arguments

host

host or IP address of target

payload

what you want echoed back! Defaults to "hello".

port

defaults to 7L (the standard echo port)

Value

character vector

See Also

Other insecure old internet service utility functions: udp_daytime, udp_qotd

Examples

1
2
3
4
## Not run: 
udp_echo("91.207.125.246", "the message you want back")

## End(Not run)

hrbrmstr/udpprobe documentation built on May 23, 2019, 9:49 a.m.