udp sockets added and removed goto's