v0.1.1 - sharper advice, honest JSON
Self-review round after v0.1.0. All 88 tests green on 3 OS x Python 3.9-3.14.
Added
- Situational advice: recognizes Docker/container port-forwarders (
docker-proxy,vpnkit, ...) and suggests stopping the container; recognizes Windows kernel-owned ports with port-specific guidance (http.sys vs SMB/NetBIOS vs generic drivers). --json --killnow reports"port_freed"so scripts and agents know whether the port actually opened up.- Hint to retry with
--forcewhen a process survives SIGTERM.
Fixed
--force/--yeswithout--killfail fast instead of being silently ignored.- Rare TCP CLOSE/CLOSED states classified as lingering (post-kill verification can't dead-lock on them).
/procreads use UTF-8 (non-ASCII process names intact).- Explicit ctypes signature for
GetStdHandle(64-bit handle hygiene). - Kernel TIME_WAIT leftovers render as
-instead of a misleading process name. - Post-kill verification window: 3s -> 5s for graceful SIGTERM shutdowns.