fixed/shortened send() function in udp class