basic udp-server structure