Re: Function pn_message_encode() returns -2

2015-12-07 Thread sanddune008
I awaiting review comments.Kindly confirm. -- View this message in context: http://qpid.2158936.n2.nabble.com/Function-pn-message-encode-returns-2-tp7634948p7634950.html Sent from the Apache Qpid Proton mailing list archive at Nabble.com.

Function pn_message_encode() returns -2

2015-12-06 Thread sanddune008
I see that following function pn_message_encode() returns -2 with send.c example. My findings, Kindly review the below code: Changes made to fix is highlighted in bold, What is the significance of passing '1' first node? int *pni_data_traverse*(pn_data_t *data, int

Re: Fwd: Unable to follow the connection of pn_pipe() with file descriptor used for poll()

2015-12-03 Thread sanddune008
Thanks I am still working on to figure out how the selectable read , write events are triggered , Please let me if some one can help me with the flow. > How does the event trigger to get out of the looping in > "pn_selector_next()". In my current code base *"while (selector->current