Re: client send confirmation
From: "Kyle M. Lee" <mail2kyle@xxxxxxxxx>
Date: Thu, 20 Dec 2007 06:07:44 +0100 (CET)
Paweł Buńko 写道:
>
> hello
> is there any posibility to receive some information about success or
> failure of sending through client's send function
> or I should use send from ConnectionBase?
>
> m_jabberClient->connectionImpl()->send(msg->xml());
Maybe you can use select() the _raw_ socket before send(), or just wait
for the disconnect handler if there some send error.
The default gloox send function is implemented as block send.

> where Stanza *msg; Client *m_jabberClient
>


Attachment: signature.asc
Description: OpenPGP digital signature