You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Happens when a new client connects to the server with a name already present on the server.
Say we have two clients Alice and Bob and they both log into the server with username "Charlie". First Alice joins the server. Then, when Bob joins, Alice receives RoomInterface::disconnect message infinitely many times.
The text was updated successfully, but these errors were encountered:
Some debug output from the server and RoomInterface
Entering test case "test_duplicate_nick"
r0.room_ptr: 0x1f872b0
r1.room_ptr: 0x1f8ec40
r0.port: 33496
r1.port: 33498
Server received on port:33496 alice Hello reply:0 reply_to_username:
alice RoomInterface::disconnected room_ptr:0x1f8ec40
Server received on port:33498 alice Hello reply:0 reply_to_username:
Server received on port:33498 alice Quit
alice RoomInterface::disconnected room_ptr:0x1f872b0
Server received on port:33496 alice Quit
alice RoomInterface::disconnected room_ptr:0x1f8ec40
Server received on port:33498 alice Quit
alice RoomInterface::disconnected room_ptr:0x1f872b0
Server received on port:33496 alice Quit
alice RoomInterface::disconnected room_ptr:0x1f8ec40
Server received on port:33498 alice Quit
...
Happens when a new client connects to the server with a name already present on the server.
Say we have two clients Alice and Bob and they both log into the server with username "Charlie". First Alice joins the server. Then, when Bob joins, Alice receives RoomInterface::disconnect message infinitely many times.
The text was updated successfully, but these errors were encountered: