[udp] Programm refactored.