阅读背景:

Linux,C:从多个线程累积数据

来源:互联网 

I have an application which plays a network server role, and will pthread_create multiple threads and each thread will listen on a particular TCP port and accept multiple TCP socket connections. Now, after some time for example, 60 seconds, all network clients (TCP socket clients) have been closed (but my application is still running those threads and listening on those ports), how do I collect data (such as total_bytes received) from those threads created by my application?I have an application which plays a network ser




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: