Java API for UdpConn