AltairZ80: Use non blocking socket for net device

This commit is contained in:
Peter Schorn 2020-04-14 19:14:12 +02:00
parent 1cc1daed96
commit 9b71968ada

View file

@ -171,7 +171,7 @@ static t_stat net_attach(UNIT *uptr, CONST char *cptr) {
}
else {
net_unit.wait = NET_INIT_POLL_CLIENT;
serviceDescriptor[0].ioSocket = sim_connect_sock(cptr, "localhost", "3000");
serviceDescriptor[0].ioSocket = sim_connect_sock_ex(NULL, cptr, "localhost", "3000", SIM_SOCK_OPT_NODELAY);
if (serviceDescriptor[0].ioSocket == INVALID_SOCKET)
return SCPE_IOERR;
}