「🏗️」 wip: started client handling (need to redo a part of the client fd handling) not yet usable

This commit is contained in:
KeyZox committed 2025-04-17 19:04:30 +02:00
1 parent 49fcb87395
commit 0b77d7b80c
5 files changed
+38 -9

No files matched your search

+2 -2
View File
@@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/14 14:14:39 by adjoly #+# #+# */
/* Updated: 2025/04/17 12:46:04 by mmoussou ### ########.fr */
/* Updated: 2025/04/17 18:48:25 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@@ -23,7 +23,7 @@ namespace server {
class Client {
public:
Client(int, sockaddr_in, config::Config *);
Client(int, sockaddr_in, config::Server *);
~Client(void);
void answer(void);
+2 -2
View File
@@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/04/11 17:45:43 by adjoly #+# #+# */
/* Updated: 2025/04/17 18:08:38 by adjoly ### ########.fr */
/* Updated: 2025/04/17 18:45:07 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@@ -43,7 +43,7 @@ class Server {
*
* @param The fd of the client
*/
void _handle_client(int, sockaddr_in, config::Config *, struct pollfd);
void _handle_client(int, sockaddr_in, struct pollfd);
/**
* @brief Can be used to fill the vector passed as parameters with all the