init
This commit is contained in:
24
include_memo.hpp
Normal file
24
include_memo.hpp
Normal 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
|
||||
Reference in New Issue
Block a user