udp code style (more useful for mobile phones)