mirror of
https://github.com/simh/simh.git
synced 2026-03-01 01:30:30 +00:00
AltairZ80: Use non blocking socket for net device
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user