mirror of
https://github.com/simh/simh.git
synced 2026-04-19 09:19:40 +00:00
FRONTPANEL: Allow simulation startup to take up to 10 seconds (in 100ms steps)
This commit is contained in:
@@ -566,7 +566,7 @@ if (1) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
for (i=0; i<5; i++) {
|
for (i=0; i<100; i++) { /* Allow up to 10 seconds waiting for simulator to start up */
|
||||||
p->sock = sim_connect_sock_ex (NULL, hostport, NULL, NULL, SIM_SOCK_OPT_NODELAY | SIM_SOCK_OPT_BLOCKING);
|
p->sock = sim_connect_sock_ex (NULL, hostport, NULL, NULL, SIM_SOCK_OPT_NODELAY | SIM_SOCK_OPT_BLOCKING);
|
||||||
if (p->sock == INVALID_SOCKET)
|
if (p->sock == INVALID_SOCKET)
|
||||||
msleep (100);
|
msleep (100);
|
||||||
|
|||||||
Reference in New Issue
Block a user