udp - C Automatic testing client server program -


i have client-server program using udp , test connection times in automated way.

the server closes after accepting or rejecting connection , can't make changes connection related code not client, nor server.

the thing comes mind trying batch file (i'm in windows), don't know if possible run both commands same batch file in automated way.

it happened easier thought, problem formulating correct question: how run multiple dos commands in parallel?

for sake of completeness, script i'm using now.

@echo off /l %%i in (1, 1, 100) (     start server.exe     ping 192.0.2.2 -n 1 -w 2 > nul     start /wait client.exe ) 

i start server , give him 2ms warm (if not, times client start before server , instance fail). call client , wait until it's finished.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -