I am trying to register the number of open sockets in my C # server application. Like the information you can get from "netstat -s":
TCP Statistics for IPv4 Active Opens = 22765 Passive Opens = 9316
I could analyze the result from "netstat" .. but if there is a class for it, then why should I ..
By the way, with the help of the System.Diagnostics.Process class, I could write several handles and threads. I thought a socket is a pen, but it seems not. In my situation, the number of handles was below # active connections from netstat.
Any suggestions, tips or answers are welcome. Thanks:)
c # sockets
wooohoh
source share