#ifndef SOCKETS_H #define SOCKETS_H #define _POSIX_C_SOURCE 200809L #include <stdio.h> #include <strings.h> #include <unistd.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include "errors.h" #define PORT 8080 #define ADDRESS "127.0.0.1" void setSockAddress(int argc, char *argv[], struct sockaddr_in * address); #endif