Skip to content

Conversation

julianoes
Copy link
Collaborator

@julianoes julianoes commented Oct 10, 2025

This is following up after @bkueng's fix in #2683.

  • TCP server: handle TCP client disconnections
  • TCP server: allow re-using of ports
  • Add system tests to test UDP and TCP reconnections

When a client disconnects we should close the socket and go back to
accept new connections.
Otherwise quick re-connections fail with "Address already in use",
especially in testing.
@julianoes julianoes changed the title Pr add reconnection systemtests Re-connection fixes and system tests Oct 10, 2025
This adds tests for reconnection of:
- TCP server
- TCP client
- UDP server
- UDP client
@julianoes julianoes force-pushed the pr-add-reconnection-systemtests branch from 024505a to 86b4c9f Compare October 10, 2025 01:19
Copy link

@julianoes julianoes merged commit b32f1e3 into main Oct 16, 2025
54 checks passed
@julianoes julianoes deleted the pr-add-reconnection-systemtests branch October 16, 2025 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant