[C++-sig] POPEN Query

Munshi, Shahid K. (Manpower Contract) shahid.k.munshi at hp.com
Wed Sep 24 18:17:03 CEST 2003

I am trying to capture network traffic for 60 seconds using windump utility for windows under Windows 2000 Server platform.
When I open the Captured file , There is nothing in file....  Anybody explain me why ?

import os,win32pipe
TooMuchTime = 60
x = win32pipe.popen("windump > Test.txt",'w+')
w = time.time()
TotalTime = time.time() + TooMuchTime
while time.time() < TotalTime:
        print ".",



More information about the Cplusplus-sig mailing list