Net :: how to build udp packet

I would like to know whether there is already a dsl extension providing an easy way to build UDP packet.
The purpose is for the dsl machine to send its IP address and possibly some other information to pre-defined IPs so the other machines can know where it is after a reboot in dhcp.

original here.