aboutsummaryrefslogtreecommitdiff
path: root/include/sibs/Socket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/sibs/Socket.hpp')
-rw-r--r--include/sibs/Socket.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/sibs/Socket.hpp b/include/sibs/Socket.hpp
new file mode 100644
index 0000000..0bc9ec3
--- /dev/null
+++ b/include/sibs/Socket.hpp
@@ -0,0 +1,19 @@
+#pragma once
+
+namespace sibs
+{
+ class Socket
+ {
+ public:
+ Socket();
+ Socket(int udtSocket);
+ Socket(int eid, int udtSocket);
+ Socket(Socket &&other);
+ Socket(const Socket&) = delete;
+ Socket& operator = (const Socket&) = delete;
+ ~Socket();
+
+ int eid;
+ int udtSocket;
+ };
+} \ No newline at end of file