Problem with UDP packets

How do you do this?
I don't know how to do it.