Is there a way I can sleep for a second in a console app, I want to retry a network connection if it fails, but not in a loop. There seems to be no app.sleepcurrentthread? is there an equivalent?
app.DoEvents(time_to_sleep)
Is there a way I can sleep for a second in a console app, I want to retry a network connection if it fails, but not in a loop. There seems to be no app.sleepcurrentthread? is there an equivalent?
app.DoEvents(time_to_sleep)