implement ip scan progress display;make ping work in windows platform