Filled out implementation of check_client function

This commit is contained in:
2024-03-08 23:34:49 -05:00
parent 9e0990156e
commit 07ac3f9166
2 changed files with 41 additions and 8 deletions

View File

@@ -17,6 +17,7 @@ typedef struct {
/* This function checks the IP address and port passed to it, and returns a struct,
that contains information about the game mode, and contains the server socket.
It assumes that both ip_text and port_text are non-null
TODO - Add better error checking. */
GameType check_server(char* ip_text, char* port_text);