Re: non-blocking mode in proton-c

2015-02-04 Thread Rafael Schloming
This is as expected. When you turn on non blocking mode then operations will return PN_INPROGRESS instead of blocking. Judging from a quick glance at the way your code is written, it seems like you actually want to turn blocking on and then the API will behave more as you expect it to. --Rafael O

non-blocking mode in proton-c

2015-02-03 Thread Tony Ercolano
I'm new to proton-c, and I'm having a bit of trouble with using a messenger that has been set to non-blocking. The following code (adjusted slightly to remove password info) attempts to send 10 messages non-blocking. It appears that if I want to PUSH all the messages out on the wire I have to m