summaryrefslogtreecommitdiff
path: root/src/socket_base.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/socket_base.hpp')
-rw-r--r--src/socket_base.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/socket_base.hpp b/src/socket_base.hpp
index f028c18..7f1c803 100644
--- a/src/socket_base.hpp
+++ b/src/socket_base.hpp
@@ -21,9 +21,11 @@
#define __ZMQ_SOCKET_BASE_HPP_INCLUDED__
#include <set>
+#include <string>
#include "i_api.hpp"
#include "object.hpp"
+#include "stdint.hpp"
namespace zmq
{
@@ -64,6 +66,14 @@ namespace zmq
// Application thread the socket lives in.
class app_thread_t *app_thread;
+ // Socket options.
+ int64_t hwm;
+ int64_t lwm;
+ int64_t swap;
+ uint64_t mask;
+ uint64_t affinity;
+ std::string session_id;
+
socket_base_t (const socket_base_t&);
void operator = (const socket_base_t&);
};