How is the Core Performance "Connections on the NS machine TCP / IIS and WS" calculated?
Values displayed are: (sum of tcp4 + tcp6 connections) / (sum of IIS connections for all 'Web Service" counter instances) / Web Socket connections.
TCP Connection counts are taken from system "Performance Counters":
category: "TCPv4", counter name: "Connections Established"
category: "TCPv6", counter name: "Connections Established"
The Web Socket connections are not by performance counters, but it's internal API showing how many web socket connections are currently active.
If for some reason, we are unable to get counters, 0 (zero) is returned.