Wireshark captures UDP packets in my LAN with follwoing details
Source IP 192.168.1.2 Destination IP 233.x.x.x Source Port 24098 Desti
The Winpcap library is one of the best ways to do this. I have experience in doing this in C# and it was really easy to work with this library.
This project shows how to do it with C#.