Check socket types during mechanism handshake

This commit is contained in:
Martin Hurton
2013-07-01 10:04:54 +02:00
parent 58b1082467
commit 783bb890a9
12 changed files with 51 additions and 58 deletions

View File

@@ -116,12 +116,3 @@ bool zmq::null_mechanism_t::is_handshake_complete () const
{
return ready_command_received && ready_command_sent;
}
int zmq::null_mechanism_t::property (const std::string name,
const void *value, size_t length)
{
if (name == "Socket-Type") {
// TODO: Implement socket type checking
}
return 0;
}