diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-09 11:57:21 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-09 11:57:21 +0200 |
commit | 3147ff8523d9736039c4582f5f62c323b23940d1 (patch) | |
tree | 73787985938ab24d737f360c615bf22efd68e0bc /src/socket_base.hpp | |
parent | bde396f1561fb5e57e6e413a40d904586e186d42 (diff) |
getsockopt implemented
Diffstat (limited to 'src/socket_base.hpp')
-rw-r--r-- | src/socket_base.hpp | 10 |
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&); }; |