• 6 Posts
  • 544 Comments
Joined 3 years ago
cake
Cake day: June 29th, 2023

help-circle


  • ScooptatoProgrammer HumorStop doing DNS
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    It’s gotten better but I’m not v6 only, I just don’t have v4. I have NAT64 which basically uses your IPv6 as the private address in a traditional NAT setup, allowing you to continue to access the legacy internet without IPv4 inside your network. Catch is you can’t connect to IPv4 addresses because it relies on a DNS64 server to generate IPv6 AAAA records from the IPv4 address when a domain only returns IPv4 so only DNS based services work. Basically it lets you have all the befits of a v6 only network with few of the drawbacks.





  • ScooptatoProgrammer HumorClosing programs
    link
    fedilink
    arrow-up
    1
    ·
    3 days ago

    …right…tell that to cmd.exe or the OpenVPN daemon, or the soft ether VPN daemon, or OpenConsole.exe, or Idk, I only tested 4 that immediately came to mind but my point stands. There are a lot of programs that do not have a window handle and do not bother with window messages.


  • ScooptatoProgrammer HumorClosing programs
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    3 days ago

    You clearly didn’t read my message…I said a “window close message.” I.e…WM_CLOSE. that is not a process signal, it’s a window management signal. Hence taskkill not working without /f on headless processes



  • ScooptatoProgrammer HumorClosing programs
    link
    fedilink
    arrow-up
    238
    arrow-down
    7
    ·
    4 days ago

    Ironically it’s actually the opposite. Linux has signals, and with the exception of SIGKILL and I think SIGABRT they can all be handled gracefully. Windows on the other hand doesn’t have signals, it can only TerminateProcess() which is forceful. The illusion of graceful termination on windows is done by sending a Window close message to all of the windows belonging to a given process, however in the event the process has no windows, only forceful termination is available due to the lack of a real mechanism to gracefully terminate processes. That’s why the taskkill command tells you a process requires forceful termination when you run it against something headless.