@echo off

set BLOKSIZE=100
set BLOKCOUNT=100

set SLEEP2=@ping -n 2 localhost
set SLEEP4=@ping -n 4 localhost

ospl start

%SLEEP4% >NUL

start Pong\pong.exe PongRead PongWrite

%SLEEP4% >NUL

Ping\ping.exe %BLOKCOUNT% %BLOKSIZE% m PongRead PongWrite

%SLEEP2% >NUL

Ping\ping.exe %BLOKCOUNT% %BLOKSIZE% q PongRead PongWrite

%SLEEP2% >NUL

Ping\ping.exe %BLOKCOUNT% %BLOKSIZE% s PongRead PongWrite

%SLEEP2% >NUL

Ping\ping.exe %BLOKCOUNT% %BLOKSIZE% f PongRead PongWrite

%SLEEP2% >NUL

Ping\ping.exe 1  10 t PongRead PongWrite 

%SLEEP4% >NUL

ospl stop
