first steps
This commit is contained in:
7
include/main.h
Normal file
7
include/main.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#ifndef __MAIN_H__
|
||||
#define __MAIN_H__
|
||||
|
||||
#define GREEN_COLOR "\033[32m"
|
||||
#define RESET_COLOR "\033[0m"
|
||||
|
||||
#endif
|
||||
13
include/server.h
Normal file
13
include/server.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef __SERVER_H__
|
||||
#define __SERVER_H__
|
||||
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <netdb.h>
|
||||
|
||||
#define PORT 3030
|
||||
// how many pending connections the queue will hold
|
||||
#define BACKLOG 10
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user