summaryrefslogtreecommitdiff
path: root/polling.c
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-11-27 12:23:26 +0100
committerOskar <[email protected]>2024-11-27 12:23:26 +0100
commita43dc3fcac6d6af0082edc73b0b148ca2c504c3a (patch)
tree52e7172fa1503a218eb9586c99aaf97fda5e5d82 /polling.c
parentef276e1e86e4a554141b511757dded2b1f1108fb (diff)
more
Diffstat (limited to 'polling.c')
-rw-r--r--polling.c25
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 () {
+
+
+
+}