mirror of
https://github.com/rcornwell/sims.git
synced 2026-01-29 21:21:21 +00:00
KA10: Detect TEN11 dropped connection.
This commit is contained in:
committed by
Richard Cornwell
parent
8a6ea8889e
commit
3266cff61d
@@ -236,6 +236,8 @@ static int transaction (unsigned char *request, unsigned char *response)
|
||||
do {
|
||||
tmxr_poll_rx (&ten11_desc);
|
||||
stat = tmxr_get_packet_ln (&ten11_ldsc, &ten11_request, &size);
|
||||
if (!ten11_ldsc.conn)
|
||||
return error ("Connection lost");
|
||||
} while (stat != SCPE_OK || size == 0);
|
||||
|
||||
if (size > 7)
|
||||
|
||||
Reference in New Issue
Block a user