nopasaran.utils.send_echo_once_udp¶
- nopasaran.utils.send_echo_once_udp(ip, port, message, timeout=0.5)¶
Send a single UDP datagram to (ip, port), then wait for up to ‘timeout’ seconds for the echo response. Return the echoed string or None on timeout/error.