I need to generate a broadcast UDP TFTP read request, and the usual
TFTP client tools I use (atftp, tftpy) can't do that. Does anybody
have a suggestion for an easy wat to generate such a request?
To send datagrams to the broadcast address, you need to
set SO_BROADCAST in setsockopt(), so unpatched the traditional
clients won't work. For details see:
man 7 socket
man setsockopt