summaryrefslogtreecommitdiff
path: root/src/ServerConnection.h
diff options
context:
space:
mode:
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;
+};