News for hackers. Stuff that matters.
Re:Show HN: X11 desktop widget that shows location of your n... by raldi on Monday July 21, 2025 @01:20AM (#44632004)
What's a network peer?
Re:Show HN: X11 desktop widget that shows location of your n... by jdwithit on Monday July 21, 2025 @01:28AM (#44632049)
Yeah from an extremely quick read of the code, I agree with atworkc. It's showing any IP address you have an established network connection to.

  void refreshConnections() {
    ssOutput =
        popen("ss -atun4 | grep ESTAB | awk '{print $6}' | cut -f1 -d\":\"", "r");

    if (ssOutput == NULL) {
      printf("Failed to run ss command\n");
      exit(1);
    }
  }
edit: ssOutput is a global variable which is read elsewhere.
Re:Show HN: X11 desktop widget that shows location of your n... by atworkc on Monday July 21, 2025 @01:24AM (#44632023)
Servers / Computers your device is currently communicating with, e.g. github servers when you load the link (well probably a cdn edge one)