Actually, seems that there are ways to do so..<div><br></div><div>I tried using non-blocking&nbsp;<span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: monospace; font-size: 12px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">recv and then setting buffer limits, but that may have side effects because of framing and other things, that'd be very bad.</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: monospace; font-size: 12px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: monospace; font-size: 12px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Another thing, it's still possible to use select(2) on socket in order to receive it's status, and allow or disallow starting amqp_simple_wait_frame(conn, &amp;frame).&nbsp;</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: monospace; font-size: 12px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: monospace; font-size: 12px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Do you think that may have potential downsides?</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: monospace; font-size: 12px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: monospace; font-size: 12px; white-space: pre-wrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Thank you! </span></div><meta http-equiv="content-type" content="text/html; charset=utf-8">