Skip to main content

Posts

Showing posts from April, 2026

Server coding, part 3

To make a server, you have to basically build it. This is a good place to start: void start_server(WNDHANDLE** setup); Which is different than: void set_server("online"); The second case simply makes the server officially online, while the first case sets up a new server. Here's the code for both cases: void start_server(WNDHANDLE ** setup) {     setup.set_windows_handle("main query"); } And the second case: void set_server(std::string status) {     main_server.push_setting(status); } And here is a function for setting up a server lobby: void start_lobby(WNDHANDLE** cable_set) {      cable_set.set_windows_handle("start list"); }