Kyle M. Lee napisał(a):
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.
and what happend if there is no connection with jabber server?
where Stanza *msg; Client *m_jabberClient
--
Paweł Buńko
Programista
Dział Rozwoju Produktów
AutoGuard S.A.
NIP: 113-22-19-747
Sąd Rejonowy dla m.st. Warszawy, XIII Wydział Gospodarczy Krajowego Rejestru
Sądowego
KRS: 0000287629
Kapitał akcyjny: 1.059.000 PLN
e-mail: p.bunko@xxxxxxxxxxxx
phone: +48 22 611 69 23
mobile: +48 502 477 791
Tlen.pl: pawlin_b
GG: #1692409
Skype: pawlin
www.autoguard.pl