Reset all TCP sockets before MCU reset #53
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "tcp_reset"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
majority of changes starts at line 460
@ -460,0 +459,4 @@
});
} else {
// Should reset, close all TCP sockets.
let mut sockets_active = 0;
This could be a boolean
any_socket_active
@ -460,0 +466,4 @@
sockets_active += 1;
}
});
// Must let loop run one more cycle to poll server in order for RST to be sent,
let the loop run for one more cycle