Re: pn_error_code() returning -2 error

2015-11-09 Thread aconway
On Mon, 2015-11-09 at 17:12 +0530, Sanny wrote: > Hi, > > Using Proton C library. > > I am following the demo example "send.c" shared in the archive. > Currently > using the mqx OS. > > > 1. I have following function in *pn_error_code*(messenger->error); > always > returning *-2*. while

Re: pn_error_code() returning -2 error

2015-11-09 Thread aconway
On Mon, 2015-11-09 at 17:12 +0530, Sanny wrote: > Hi, > > Using Proton C library. > > I am following the demo example "send.c" shared in the archive. > Currently > using the mqx OS. > > > 1. I have following function in *pn_error_code*(messenger->error); > always > returning *-2*. while

Re: pn_error_code() returning -2 error

2015-11-09 Thread Sanny
Hi, Using Proton C library. I am following the demo example "send.c" shared in the archive. Currently using the mqx OS. 1. I have following function in *pn_error_code*(messenger->error); always returning *-2*. while calling the following function* pn_messenger_put*(messenger, message); 2. In

pn_error_code() returning -2 error

2015-10-29 Thread Sanny
Hi, Using Proton C library. I am following the demo example "send.c" shared in the archive. Currently using the mqx OS. 1. I have following function in *pn_error_code*(messenger->error); always returning *-2*. while calling the following function* pn_messenger_put*(messenger, message); 2. In