0
0
mirror of https://github.com/zeromq/libzmq.git synced 2025-01-17 04:50:57 +08:00

Merge pull request #304 from hurtonm/flush_identity_message_for_inproc_transport

Flush identity message for inproc transport
This commit is contained in:
Pieter Hintjens 2012-04-04 16:35:41 -07:00
commit 88db804bb9

View File

@ -434,6 +434,7 @@ int zmq::socket_base_t::connect (const char *addr_)
id.set_flags (msg_t::identity);
bool written = pipes [0]->write (&id);
zmq_assert (written);
pipes [0]->flush ();
}
// Attach remote end of the pipe to the peer socket. Note that peer's