From aebff623f36efddc0de7a3192832b61802f8cec8 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 23 Dec 2009 19:37:56 +0100 Subject: ZMQII-28: Bidirectional introduction on TCP connection establishment --- src/i_inout.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/i_inout.hpp') diff --git a/src/i_inout.hpp b/src/i_inout.hpp index b82a476..8a0ce6a 100644 --- a/src/i_inout.hpp +++ b/src/i_inout.hpp @@ -22,6 +22,8 @@ #include "../bindings/c/zmq.h" +#include "stdint.hpp" + namespace zmq { @@ -47,8 +49,8 @@ namespace zmq // Return pointer to the owning socket. virtual class socket_base_t *get_owner () = 0; - // Returns the name of associated session. - virtual const char *get_session_name () = 0; + // Return ordinal number of the session. + virtual uint64_t get_ordinal () = 0; }; } -- cgit v1.2.3