{"id":269952,"date":"2026-12-06T08:04:46","date_gmt":"2026-12-06T08:04:46","guid":{"rendered":"https:\/\/cloudshepherd.co.uk\/?p=269952"},"modified":"2026-12-06T08:04:46","modified_gmt":"2026-12-06T08:04:46","slug":"udp-or-tcp-cloud-desktop-pilot","status":"publish","type":"post","link":"https:\/\/cloudshepherd.co.uk\/index.php\/2026\/12\/06\/udp-or-tcp-cloud-desktop-pilot\/","title":{"rendered":"UDP or TCP: decide before your cloud desktop pilot misleads you"},"content":{"rendered":"<p>If someone says \u201cthe cloud desktop feels off\u201d, don\u2019t reach for bigger VMs first. Ask a more awkward question: <strong>what transport did the session actually use\u2014UDP as intended, or TCP fallback?<\/strong><\/p>\n<p>That\u2019s the concrete decision to take to your pilot steering group: <strong>will we allow UDP end-to-end for the desktop display transport (Citrix EDT \/ Azure Virtual Desktop RDP Shortpath) wherever the product supports it, or will we run TCP-only by design and accept that constraint in our results?<\/strong><\/p>\n<p>You can\u2019t avoid the decision by leaving everything on defaults. Both Citrix and Microsoft describe \u201cprefer UDP when possible, otherwise fall back to TCP\u201d behaviour. If you don\u2019t make transport visible during testing, your pilot can easily become a test of your network path rather than a test of the platform.<\/p>\n<h2>What the products will try to do (and why your pilot must observe it)<\/h2>\n<p>There\u2019s no need to pick a side on protocols. The practical issue is that the platforms can change transport without asking you, and still appear to \u201cwork\u201d.<\/p>\n<ul>\n<li><strong>Citrix HDX Adaptive Transport:<\/strong> Citrix describes a policy-driven approach where sessions prefer a transport protocol and <em>fall back to TCP<\/em> if the preferred option isn\u2019t available. Citrix also documents different modes, including <em>Preferred<\/em> (default behaviour), <em>Diagnostic mode<\/em> (no TCP fallback), and <em>Off<\/em> (TCP only). See <a href=\"https:\/\/docs.citrix.com\/us\/en\/citrix-virtual-apps-desktops\/2507-ltsr\/hdx-transport\/adaptive-transport.html\">Citrix guidance on Adaptive Transport modes and fallback<\/a>.<\/li>\n<li><strong>Azure Virtual Desktop RDP Shortpath:<\/strong> Microsoft describes RDP Shortpath as establishing a <em>UDP-based transport<\/em> between client and session host when possible, with <em>TCP used as a fallback<\/em> if UDP can\u2019t be established. In managed networks, Microsoft also describes a UDP listener on session hosts (default port 3390) when configured. See <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/virtual-desktop\/rdp-shortpath?wt.mc_id=MVP_473412\">Microsoft documentation for RDP Shortpath transport, ports and TCP fallback<\/a>.<\/li>\n<\/ul>\n<p>The pilot implication is simple: you don\u2019t just test \u201cCitrix versus AVD\u201d or \u201ccloud desktops versus laptops\u201d. You test a specific combination of <em>client + access design + network rules + chosen transport<\/em>. Two teams can run \u201cthe same pilot\u201d and get different outcomes if one is unknowingly testing TCP fallback most of the time.<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/cloudshepherd.co.uk\/wp-content\/uploads\/2026\/12\/udp-or-tcp-cloud-desktop-pilot-support-ddbeb1f4.png\" alt=\"Pilot transport decision checklist. Pilot rule: State it: \u201cUDP permitted\u201d or \u201cTCP-only by design\u201d (don\u2019t rely on silent fallback). Test contexts: Office wired, home Wi\u2011Fi, and one variable link (4G\/5G tether) with real users. Record per run: Transport observed (UDP\/TCP), RTT as context, and a quick 0\u20133 usability score. Fair comparison: Both platforms get a UDP attempt, or both are judged TCP-only. Don\u2019t mix conditions.\" width=\"1440\" height=\"800\" loading=\"lazy\" style=\"max-width:100%;height:auto\" \/><figcaption>Four points to keep UDP\/TCP testing comparable<\/figcaption><\/figure>\n<h2>The decision you\u2019re really making: strictness, comparability, and change control<\/h2>\n<p>Write the decision in operational terms, because that\u2019s how it will play out.<\/p>\n<p><strong>Option A: UDP permitted end-to-end (where supported)<\/strong><\/p>\n<ul>\n<li><strong>What you gain:<\/strong> you learn what the platform looks like under its preferred transport when your path allows it, rather than only under fallback conditions.<\/li>\n<li><strong>What it costs:<\/strong> you need an agreed route for UDP traffic and a way to validate it works. Depending on your chosen Citrix access pattern, prerequisites can include explicit UDP allowances. For example, Citrix\u2019s Gateway service documentation describes EDT as UDP-based and lists prerequisites that include allowing outbound UDP 443 from the VDA to the Citrix Gateway service. See <a href=\"https:\/\/docs.citrix.com\/us\/en\/citrix-gateway-service\/hdx-edt-support-for-gateway-service.html\">Citrix prerequisites for EDT support with Gateway service<\/a>.<\/li>\n<li><strong>Where pilots get stuck:<\/strong> agreeing who signs off changes to firewall\/NAT rules and how narrowly they can be scoped for the pilot.<\/li>\n<\/ul>\n<p><strong>Option B: TCP-only by design<\/strong><\/p>\n<ul>\n<li><strong>What you gain:<\/strong> fewer moving parts in the pilot path, and clearer alignment with environments where UDP is not permitted.<\/li>\n<li><strong>What it costs:<\/strong> you are explicitly choosing to test on fallback transport (for products that would otherwise use UDP). That may be fine, but you must treat pilot results as \u201cTCP-only results\u201d, not \u201cplatform results\u201d.<\/li>\n<\/ul>\n<p><strong>The fairness rule for buying decisions:<\/strong> either (1) both platforms you are comparing get a genuine attempt at UDP in equivalent conditions, or (2) both are judged TCP-only by design. Mixing conditions produces confident conclusions from untidy evidence.<\/p>\n<h2>A minimum viable test plan that produces a defendable answer<\/h2>\n<p>This plan is designed to create evidence you can use in a meeting, not to build a perfect lab.<\/p>\n<ol>\n<li><strong>Pick two short user journeys that repeat well.<\/strong> Avoid \u201clogin time\u201d as your main measure; it\u2019s too easy to blame identity or profile. Choose tasks your users will actually do, and that are easy to repeat twice. Examples: rapid scrolling in a long document; dragging\/resizing windows while a call runs; pan\/zoom in a design viewer. Keep each run under three minutes.<\/li>\n<li><strong>Test in three network contexts.<\/strong> Office wired, home Wi\u2011Fi, and one variable link (4G\/5G tether is enough). This is not because mobile is the majority case; it\u2019s because it quickly exposes whether the pilot is silently changing transport.<\/li>\n<li><strong>Make \u201ctransport used\u201d a required field in every test note.<\/strong> If you can\u2019t say UDP or TCP for each run, you can\u2019t interpret feedback. On Citrix, Citrix documents a <em>Diagnostic mode<\/em> that disables TCP fallback, which can be useful when you need to prove whether UDP is genuinely reachable end-to-end (the session should fail rather than quietly switch). See <a href=\"https:\/\/docs.citrix.com\/us\/en\/citrix-virtual-apps-desktops\/2507-ltsr\/hdx-transport\/adaptive-transport.html\">Citrix Adaptive Transport Diagnostic mode (no TCP fallback)<\/a>. On AVD, treat \u201cUDP if possible, otherwise TCP fallback\u201d as a result you observe, not an assumption. See <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/virtual-desktop\/rdp-shortpath?wt.mc_id=MVP_473412\">Microsoft\u2019s description of Shortpath fallback to TCP<\/a>.<\/li>\n<li><strong>Capture one piece of network context alongside user feedback.<\/strong> Round-trip time (RTT) is a practical choice: the time for a packet to go to the session host and back. Microsoft\u2019s AVD troubleshooting guidance includes RTT guidance (for example, aiming for less than 150 ms to the Azure region hosting session hosts) and notes higher latency can affect experience; use it as context while you compare conditions in your own pilot. See <a href=\"https:\/\/learn.microsoft.com\/en-us\/troubleshoot\/azure\/virtual-desktop\/troubleshoot-connection-quality\">Microsoft guidance on troubleshooting AVD connection quality (including RTT context)<\/a>.<\/li>\n<li><strong>Define a pass\/fail statement that forces a decision.<\/strong> Example: \u201cFor the two journeys, in home Wi\u2011Fi and 4G contexts, at least 8 of 10 participants rate usability acceptable. Any unacceptable rating must show transport used (UDP\/TCP) and RTT context.\u201d This turns \u201cmixed feedback\u201d into something actionable.<\/li>\n<\/ol>\n<h2>Worked example (hypothetical): how a pilot proves what it\u2019s actually testing<\/h2>\n<p><strong>Scenario:<\/strong> A 75-user architecture practice pilots cloud desktops for Microsoft 365, a line-of-business application, and a CAD viewer. In week one, 12 home users and 6 site users on 4G report: \u201cmouse feels laggy\u201d.<\/p>\n<p><strong>What the team does (without assuming the cause):<\/strong> they stop debating whether the platform is underpowered and instead run an explicit transport check. For each reported \u201cbad session\u201d, they record whether the session is using UDP or TCP, then repeat the same two user journeys twice under controlled conditions.<\/p>\n<p><strong>Two pilot conditions:<\/strong><\/p>\n<ul>\n<li><strong>Condition A (UDP attempt):<\/strong> a pilot-only access route is agreed whose purpose is to allow the product\u2019s UDP transport to establish end-to-end where supported. If Citrix Gateway service is part of the design, the team checks UDP prerequisites such as those listed by Citrix for EDT (for example outbound UDP 443 from VDA to the service). See <a href=\"https:\/\/docs.citrix.com\/us\/en\/citrix-gateway-service\/hdx-edt-support-for-gateway-service.html\">Citrix prerequisites for EDT with Gateway service<\/a>.<\/li>\n<li><strong>Condition B (TCP-only control):<\/strong> users connect via the existing standard route, with the team explicitly expecting that sessions may fall back to TCP where UDP can\u2019t be established (as described by both vendors). See <a href=\"https:\/\/learn.microsoft.com\/en-us\/azure\/virtual-desktop\/rdp-shortpath?wt.mc_id=MVP_473412\">Microsoft on TCP fallback when UDP can\u2019t be established<\/a> and <a href=\"https:\/\/docs.citrix.com\/us\/en\/citrix-virtual-apps-desktops\/2507-ltsr\/hdx-transport\/adaptive-transport.html\">Citrix on fallback to TCP when the preferred transport isn\u2019t available<\/a>.<\/li>\n<\/ul>\n<p><strong>What they record for each run:<\/strong><\/p>\n<ul>\n<li>Transport observed (UDP or TCP).<\/li>\n<li>RTT to the hosting region as context (not as a guarantee).<\/li>\n<li>A 0\u20133 user rating for the two journeys, plus one sentence: \u201cwhat made it unacceptable?\u201d<\/li>\n<\/ul>\n<p><strong>How that becomes a decision:<\/strong> if the pilot shows that a large portion of real-world sessions are on TCP fallback (despite intending otherwise), the steering group has to choose: invest time to make UDP viable for the pilot route, or accept TCP-only as an intentional constraint and judge platforms within that boundary. Either way, the result is defensible because you know what you tested.<\/p>\n<h2>What to check if UDP isn\u2019t establishing (without turning it into folklore)<\/h2>\n<p>The supplied vendor documentation gives you two grounded starting points: (1) <strong>both platforms fall back to TCP when UDP can\u2019t be established<\/strong> (Citrix Adaptive Transport and Microsoft RDP Shortpath), and (2) <strong>there are explicit port\/routing prerequisites in some designs<\/strong> (for example Citrix Gateway service and UDP 443 prerequisites; AVD managed networks using a UDP listener and port defaults).<\/p>\n<p>Beyond that, be careful not to treat common guesses as facts. In your pilot notes, frame the cause as a hypothesis you validate, such as:<\/p>\n<ul>\n<li>\u201cA network device on the route is blocking the relevant UDP port.\u201d (Validate by observing transport and checking rules against the vendor prerequisites.)<\/li>\n<li>\u201cThe client isn\u2019t using the expected mode\/topology.\u201d (Validate against how Microsoft describes managed versus other network scenarios for Shortpath.)<\/li>\n<li>\u201cOur access design differs from what the vendor prerequisites assume.\u201d (Validate by mapping the pilot route against the relevant Citrix\/Microsoft documentation.)<\/li>\n<\/ul>\n<p>This keeps the pilot honest: you\u2019re not claiming why it happens; you\u2019re recording what happened and what you checked.<\/p>\n<p>Pick one home user and one mobile-data user this week. Run your two user journeys twice (your normal route, then your UDP-attempt route). For each run, write down <em>UDP or TCP<\/em> and the user\u2019s 0\u20133 rating with RTT context, and attach that single page to your pilot findings before anyone argues about VM sizes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If your pilot quietly falls back to TCP, you can end up judging the wrong thing. Decide early whether you will allow UDP end-to-end (where supported) and test that condition on purpose.<\/p>\n","protected":false},"author":1,"featured_media":269953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[15,60,59],"tags":[],"class_list":["post-269952","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-computing","category-cloud-migration","category-home-working"],"_links":{"self":[{"href":"https:\/\/cloudshepherd.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/269952","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudshepherd.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudshepherd.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudshepherd.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudshepherd.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=269952"}],"version-history":[{"count":1,"href":"https:\/\/cloudshepherd.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/269952\/revisions"}],"predecessor-version":[{"id":269955,"href":"https:\/\/cloudshepherd.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/269952\/revisions\/269955"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudshepherd.co.uk\/index.php\/wp-json\/wp\/v2\/media\/269953"}],"wp:attachment":[{"href":"https:\/\/cloudshepherd.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=269952"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudshepherd.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=269952"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudshepherd.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=269952"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}