[ejabberd] server doesnt tell about disconnected user
mickael.remond at process-one.net
Thu Dec 14 21:18:17 MSK 2006
Le 13 déc. 06 à 16:29, Farooq Ahmed a écrit :
> cant this be solved by sending a <recipient-unavailable/> message
> with error
> type "wait"
> rfc3920 (XMPP core) gives the provision for some error messages.
> cant they
> be used?
> In case of loss of network connectivity, sending data on the
> network would
> result in error?
Not if the TCP socket has not been closed. Data are written in the
TCP buffer. Once the keepalive timeout trigger the fact that the
connection is really gone, then you can now that it has been closed.
But there is now way to get the data that you have written in the TCP
buffer back to ejabberd (with a standard TCP/IP protocol
You have to work at the application level to add reliability and the
standard are being worked on currently.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ejabberd