removed client code and executable, use ncat or similar program to communicate with the server

This commit is contained in:
Arthur-Coppey
2021-11-26 13:35:43 +01:00
parent c63415c134
commit fb4052dcff
9 changed files with 1 additions and 124 deletions
+28
View File
@@ -0,0 +1,28 @@
//
// Created by k0rb4k on 30/03/2021.
//
#ifndef QOTD_SERVER_H
#define QOTD_SERVER_H
#include <sys/socket.h>
//#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include "quote.h"
#define MESSAGE_STRING_LENGTH 2048
void server(int tcp, int ipv6);
void tcpServer();
_Noreturn void udpServer();
#endif //QOTD_SERVER_H