Implement dynamic RoomServers #1

Open
opened 2023-09-23 20:40:49 +00:00 by Wirlaburla · 0 comments
Owner

Right now, the client only works on the same IP/Port that is currently hardcoded. Some rooms require a different port and support for different RoomServers should be provided.

All instances of a RoomServer init:

  • AutoServer returns a ROOMID net command with the IP and Port at the end.
  • RoomServers return a REDIR net command when a room entered goes to a different address.

What needs to be done:

  • Proper dynamic handling of 'servaddr_in roomaddr'.
  • Reading of the end bytes for ROOMID and REDIR.
  • Proper closing and re-opening of roomsock socket.
  • Removing the inet dependency.
Right now, the client only works on the same IP/Port that is currently hardcoded. Some rooms require a different port and support for different RoomServers should be provided. All instances of a RoomServer init: * AutoServer returns a ROOMID net command with the IP and Port at the end. * RoomServers return a REDIR net command when a room entered goes to a different address. What needs to be done: - [x] Proper dynamic handling of 'servaddr_in roomaddr'. - [x] Reading of the end bytes for ROOMID and REDIR. - [x] Proper closing and re-opening of roomsock socket. - [ ] Removing the inet dependency.
Wirlaburla added the TODO label 2023-09-23 20:40:49 +00:00
Wirlaburla self-assigned this 2023-09-23 20:40:49 +00:00
Wirlaburla removed their assignment 2024-02-07 03:33:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Wirlaburla/WorldsTerminal#1