Some Comments

This commit is contained in:
arizotaz committed 2026-04-26 13:57:25 -04:00
1 parent 44dbf7813a
commit 745bce5ff4
2 files changed
+35

No files matched your search

+10
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