mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 19:25:36 +00: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 :-)