diff options
Diffstat (limited to 'polling.c')
-rw-r--r-- | polling.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/polling.c b/polling.c new file mode 100644 index 0000000..bce456e --- /dev/null +++ b/polling.c @@ -0,0 +1,25 @@ +#include <sys/types.h> +#include <sys/socket.h> +#include <netdb.h> +#include <stdio.h> +#include <string.h> +#include <stdint.h> +#include <unistd.h> +#include <stdbool.h> +#include <fcntl.h> +#include <stdlib.h> +#include <arpa/inet.h> +#include <netinet/in.h> +#include <signal.h> +#include <poll.h> + +#define __FAIL EXIT_FAILURE +#define BACKLOG 2 +#define __PORT "62000" +#define BUF_SZ_2 2048 + +int main () { + + + +} |