EthernetUDP

Hello there...
i am trying to send some variables using UDP
it sends successfully but send only one time when the kit that sends start up then stops
and every time i reset the kit that send it sends successfully then stops
please any advice to make it send continuously in while loop...
thanks

i am trying to send some variables using UDP

Using some code you didn't post, running on some hardware you didn't define, sending to some undefined receiver...

it sends successfully but send only one time when the kit that sends start up

What "kit" would that be? How do you know that the "kit" has started?

please any advice to make it send continuously in while loop...

Write the code correctly. Power the Arduino correctly.

what do you mean by write code correctly and power correctly ?
the kit i mean is the arduino i will try to explain
i have 2 arduino boards connected to ENC28J60 modules the first arduino works as UDPserver and the other as UDPclient , client is collecting some variables then sends them to the server
i simply wrote code like
udp.beginPacket();
udp.write/udp.print; tried both and the same happens
udp.endPacket();

once the client starts it send successfully only one time then stop sending till i reset the client
is it more clear now ???