summaryrefslogtreecommitdiff
path: root/src/ServerConnection.h
diff options
context:
space:
mode:
authorcflip <cflip@cflip.net>2022-07-07 09:50:38 -0600
committercflip <cflip@cflip.net>2022-07-07 09:50:38 -0600
commit76e6c3d690caac3faa664b7b8b79cbc7c6a58394 (patch)
tree8b0ebbc6fe543a1dc0b9d8eba72efd35f8817aa6 /src/ServerConnection.h
Initial commit
Diffstat (limited to 'src/ServerConnection.h')
-rw-r--r--src/ServerConnection.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ServerConnection.h b/src/ServerConnection.h
new file mode 100644
index 0000000..0359b5e
--- /dev/null
+++ b/src/ServerConnection.h
@@ -0,0 +1,12 @@
+#pragma once
+
+class ClientConnection;
+
+class ServerConnection {
+public:
+ ServerConnection(int port);
+
+ ClientConnection accept_client_connection();
+private:
+ int m_socket_fd;
+};