udp and tty