//Server
int sock;
pthread_t thread;
struct addrinfo hints, *res;
int reuseaddr = 1; /* True */
/* Get the address info */
hints.ai_family = AF_INET;
hints.ai_socktype = SOCK_STREAM;
struct addrinfo hints;
//some codes socket, bind etc
printf("%s", inet_ntoa("I am lost what to put here"));//I need the server IP address