Implement dynamic RoomServers #1

Open
opened 2023-09-23 16:40:49 -04: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 16:40:49 -04:00
Wirlaburla self-assigned this 2023-09-23 16:40:49 -04:00
Wirlaburla removed their assignment 2024-02-06 22:33:23 -05:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Wirlaburla/WorldsTerminal#1
No description provided.