summaryrefslogtreecommitdiffstats
path: root/src/utils/socket.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/socket.hpp')
-rw-r--r--src/utils/socket.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/socket.hpp b/src/utils/socket.hpp
index e9ddf07..b42eee6 100644
--- a/src/utils/socket.hpp
+++ b/src/utils/socket.hpp
@@ -30,15 +30,15 @@ namespace utils
socket_t(const socket_t&) = delete;
socket_t(socket_t&&);
~socket_t();
-
+
explicit operator bool() const;
-
+
int open(int domain, int type, int protocol);
int close();
int setopt(int level, int optname, const void* optval, socklen_t optlen);
int socket() const;
int bind(const struct sockaddr* addr, socklen_t len);
-
+
private:
int socket_;
};