udp_send_payload: Send a UDP payload and return the response (if any)

Description Usage Arguments Note

View source: R/udp-payload.R

Description

Send a UDP payload and return the response (if any)

Usage

1
2
udp_send_payload(host, port, payload, timeout = 5,
  max_response_size = 4096)

Arguments

host

host or ip address of target

port

UDP port number

payload

payload to send (raw bytes; as.raw() will be called if not)

timeout

UDP socket transmission/reception timeout (seconds); Default is 5s.

max_response_size

maximum size of response to accept (bytes). Default if 4096

Note

there's a hardcoded max response size of 4096 bytes for now #lazy


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