diff options
| -rw-r--r-- | src/net.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2,6 +2,7 @@ #define OXEN_NET_H #include <stdint.h> +#include "player.h" typedef enum { @@ -24,6 +25,11 @@ typedef struct int server_start(const char* port); int* server_get_players(int serversock, const uint8_t count); +void server_start_game(int* clients, const uint8_t clientcount, const struct player_list* players); +void* server_recv(int sock, uint8_t wanted); + int client_connect_server(const char* host, const char* port); +void client_hello(int sock, const char* username); +void* client_recv(int sock, uint8_t wanted); #endif // OXEN_NET_H |
