mirror of
https://github.com/reactos/reactos.git
synced 2026-05-23 15:50:29 +08:00
We first check if a socket is listening before checking whether it has connections. This allows properly returning listening address. Furthermore, if it's listening, properly return status so that it displays nice in netstat. Result: https://twitter.com/HeisSpiter/status/1064245622323200000 :-)