Implement actual remote peer session setup #24

Closed
opened 2026-09-15 16:42:57 +00:00 by EIREXE · 0 comments
Owner

Severity: High
create_session registers every player as PlayerType::Local at src/netcode/session.rs:15-17. The non-synctest path only binds UDP port 6969 and has no peer addresses. Disconnect and network interruption events are logged but not handled.

Fix: add explicit local/remote player configuration, address and port validation, and connection interruption/cleanup states.

Severity: High create_session registers every player as PlayerType::Local at src/netcode/session.rs:15-17. The non-synctest path only binds UDP port 6969 and has no peer addresses. Disconnect and network interruption events are logged but not handled. Fix: add explicit local/remote player configuration, address and port validation, and connection interruption/cleanup states.
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: EIREXE/shinespark#24