#define CLIENT_MAXLEN 512
struct Client *client_connected(struct Auth *auth) {
-
- return NULL;
+ struct Client *client = calloc(1, sizeof(*client));
+ client->conn = auth->conn;
+
+ client_printf(client, "Hi");
+
+ return client;
}
void client_printf(struct Client *client, const char *text, ...) {