Hi all,

I am playing around with libqb writing my first test server. Normal operation 
work
quite good so far. I just wonder how to handle errors on the server side, 
especially
in qb_ipcs_msg_process_fn:

typedef int32_t (*qb_ipcs_msg_process_fn) (qb_ipcs_connection_t *c,
                void *data, size_t size);

I thought the return value is used to indicate errors, but if I simply
return a negative number my client hang forever.

So I always need to send something back? What is the purpose of the return 
value then?

On the client side there seems to be no timeout in qb_ipcc_sendv_recv()?

- Dietmar


_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to