none
世界粮食计划署监控某进程下载流量 RRS feed

  • Question

  • FWPM_LAYER_STREAM_V4和FWPM_LAYER_DATAGRAM_DATA_V4下监视某事的下载流量,

    FWPS_STREAM_CALLOUT_IO_PACKET* streamPacket = (FWPS_STREAM_CALLOUT_IO_PACKET*)packet;

    uDataLeng = streamPacket->streamData->dataLength;

    inbound = (BOOLEAN)((streamPacket->streamData->flags & FWPS_STREAM_FLAG_RECEIVE) == FWPS_STREAM_FLAG_RECEIVE);

    统计出来的比文件资源管理器上显示的小很多,我发现下载时系统进度也有很多下载数据。但是我把系统+ XX过程的下载流量之和,与文件资源管理器上显示的比较,还是要小一些

    • Edited by wanghyu Thursday, January 2, 2020 7:17 AM
    Thursday, January 2, 2020 6:53 AM