Implement socket_base_t::get_credential member function

The get_credential () member function returns
credential for the last peer we received message for.
The idea is that this function is used to implement user-level API.
This commit is contained in:
Martin Hurton
2014-01-12 21:58:36 +01:00
parent 5c4f3cc603
commit e46ec31209
25 changed files with 158 additions and 4 deletions

View File

@@ -101,6 +101,7 @@ namespace zmq
int pull_msg_from_session (msg_t *msg_);
int push_msg_to_session (msg_t *msg);
int write_credential (msg_t *msg_);
int pull_and_encode (msg_t *msg_);
int decode_and_push (msg_t *msg_);
int push_one_then_decode_and_push (msg_t *msg_);