UDPsocket programming

Do u have any idea to config UDP socket using tools?

Your question is too vague. What exactly are you trying to achieve?

I want to establish communication between two machines (both has linux_ubuntu using IPSec), So I need to implement UDPsocket and I prefer to do it using tools instead of programming if there is any tools ....
or plz give me any resources regarding this ..