Problem with UDP packets

Lustige_Leon:
Can you show it how to do it with a code?

Have you looked at any of the examples? I'm not going to simply write your sketch for you, and you don't seem to be making any effort to figure this out for yourself. Surely, you have seen an example which sends a UDP packet?