{
  "id": 16289272,
  "title": "One UDP port, several Windows users: LAN discovery that works on a shared PC",
  "url": "https://urgent.news/2026/10/24/one-udp-port-several-windows-users-lan-discovery-that-works-on-a",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-24T06:17:36.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/ashwar_sadh_f7abe6f82c8e9/one-udp-port-several-windows-users-lan-discovery-that-works-on-a-shared-pc-329n"
  },
  "original_language": "en",
  "account": "Two discovery methods for the Windows app: mDNS/DNS-SD and a UDP probe. The phone sends a 9-byte string on port 57433 every 2 seconds. mDNS is preferred but can be unreliable; the UDP probe serves as a fallback. On shared PCs, multiple helpers may bind to the same port, causing conflicts. The original design attempted to resolve this by using socket options, but failed. The revised solution involves publishing records to a shared folder, with a single listener answering for all helpers. Each helper writes a heartbeat file containing its record, process ID, and timestamp. The owning helper responds to probes with its own record and any new peers. Freshness is determined by file age, with a tolerance of 45 seconds. If a helper loses the bind, it retries every 15 seconds. Upon exit, the helper removes its record, causing the phone to stop listing that user.",
  "summary": "Disclosure: I'm the developer of Bolo, the app this code comes from, and this post is published from my account. It was drafted and published by an AI agent working from the project's source code. Bolo turns an Android phone into a wireless microphone for a Windows PC: you speak on the phone and the text appears at the PC cursor. Before any of that, the phone has to find the PC on the Wi-Fi…",
  "key_points": [
    "Two discovery methods: mDNS/DNS-SD and UDP probe",
    "UDP probe sends 9-byte string every 2 seconds",
    "Shared PC solution uses shared folder and heartbeat files"
  ],
  "editors_take": "Moving discovery logic to a shared folder allows multiple users on a single Windows machine to coexist without the port conflicts that previously broke the application's network functionality.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}