package
0.9.0
Repository: https://github.com/datadog/datadog-agent.git
Documentation: pkg.go.dev

# Functions

PingTCP connects to the provided IP address over TCP/TCPv6, sends the string "ping", reads from the connection, and returns the open connection for further use/inspection.
PingUDP connects to the provided IP address over UDP/UDPv6, sends the string "ping", and returns the open connection for further use/inspection.
RunCommands runs each command in cmds individually and returns the output as a []string, with each element corresponding to the respective command.
StartServerTCP starts a TCP server listening at provided IP address and port.
StartServerTCPNs is identical to StartServerTCP, but it operates with the network namespace provided by name.
StartServerUDP starts a UDP server listening at provided IP address and port.
StartServerUDPNs is identical to StartServerUDP, but it operates with the network namespace provided by name.