Some Comments

This commit is contained in:
2026-04-26 13:57:25 -04:00
parent 44dbf7813a
commit 745bce5ff4
2 changed files with 35 additions and 0 deletions

View File

@@ -13,7 +13,14 @@ typedef struct {
int client_count;
} Server;
/**
* Setup the actual socket server
*/
Server StartServer(int port);
/**
* Removes client and closes the connection
*/
void RemoveClient(Server* s, int index);
typedef struct {
@@ -21,6 +28,9 @@ typedef struct {
struct sockaddr_in address;
} Client;
/**
* Creates the Client object
*/
Client StartClient(char* host, int port);
#endif