summaryrefslogtreecommitdiffstats
path: root/src/nsocket.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nsocket.h')
-rw-r--r--src/nsocket.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/nsocket.h b/src/nsocket.h
new file mode 100644
index 0000000..17cea75
--- /dev/null
+++ b/src/nsocket.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: BSD-3-Clause */
+/*
+ * Copyright © 2020 rsiddharth <s@ricketyspace.net>
+ */
+
+#ifndef _nsocket_h
+#define _nsocket_h
+
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netdb.h>
+
+#include <dbg.h>
+
+#define PORT "7899"
+
+int get_socket();
+
+#endif