This commit is contained in:
LuckyLaszlo
2022-07-07 20:13:14 +02:00
commit 8a7204b7a5
9 changed files with 158 additions and 0 deletions

24
include_memo.hpp Normal file
View File

@@ -0,0 +1,24 @@
//# include <iostream>
# include <string>
# include <map>
# include <cerrno> // errno
# include <cstdio> // perror
// --------------------------------------------
// Verifier si les fonctions sont dispos dans des headers C++
# include <fcntl.h> // fcntl
// htonl, htons, ntohl, ntohs, inet_addr
# include <arpa/inet.h>
// socket, accept, listen, send, recv, bind, connect, setsockopt, getsockname
# include <sys/socket.h>
# include <poll.h> // poll
// OR
# include <sys/select.h> // select
// OR
# include <sys/epoll.h> // epoll