<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 5, 2014 at 6:03 AM, Rohit Patle <span dir="ltr"><<a href="mailto:Rohit.Patle@techmahindra.com" target="_blank">Rohit.Patle@techmahindra.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Hi Alan,<br>
<br>
I am producing this latency by using tc (transmission control) tool in Ubuntu. In this case the API amqp_login is getting failed to execute with exception at listener. Here I would like to know that what is the Signal that library is producing in such case?<br>
</div></div></blockquote><div><br></div><div>I'm not sure what you mean by 'exception' here? The possible return values from amqp_login are documented here:�<a href="https://github.com/alanxz/rabbitmq-c/blob/b7c3f97acf25cd0e8644be46f0a9a5f7ece2e33d/librabbitmq/amqp.h#L1705">https://github.com/alanxz/rabbitmq-c/blob/b7c3f97acf25cd0e8644be46f0a9a5f7ece2e33d/librabbitmq/amqp.h#L1705</a>, amqp exceptions are covered in the documentation . FYI: the library does not explicitly use unix signals.</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div style="direction:ltr;font-size:10pt;font-family:Tahoma">

<br>
As you suggested We tried to close the socket connection in case of rabbitmq-server is down, But while doing this the amqp_connection_close() API gets failed to execute with exception and returns some Signal to kernel from library.<br>

<br>
Can you please let me know what is the Signal that library is producing in this kind scenarios?�
<br></div></div></blockquote><div><br></div><div>Again - I'm not sure what you mean by signal. Could you clarify what you're trying to ask here?�</div><div><br></div><div>-Alan</div></div></div></div>