Skip to main content

I have just corrected a problem reported by a user of the STCP statistics package that we provide on the VOS anonymous FTP site. This package contains source code that demonstrates how to gather statistics from the STCP driver. The code was not correctly calculating the number of active TCP/IP sockets. It always returned a number that was less than or equal to 256, even if more sockets than that were use. The problem was traced to the fact that information about active TCP/IP sockets is returned to the user in groups of 256 sockets. Thus, it is necessary to keep calling the driver until no more groups of data are returned. I’ve updated the code and tested it on 14.7 and 17.0, and it should be OK now. If you have questions or run into any further issues, please let me know.

Download ftp://ftp.stratus.com/pub/vos/network/stcp_statistics.save.evf.gz to obtain a copy of this package.

© 2024 Stratus Technologies.