Click to open or copy the files for the DGsend sample.
Click to open or copy the Testlib directory (required).
This sample opens a socket, binds to the socket, and sends a packet repeatedly.
This sample uses the following keywords:
bind; build_dest_addr; closesocket; dg_send; dos_net_perror; enable_broadcasts; exit; free; getsockname; makeword; malloc; memcpy; memset; net_init; parse_cmd_line; print_netaddr; print_saddr; print_wsa; printf; sendto; setsockopt; sleep; socket; strncpy; wsastartup