Niklas Therning <[EMAIL PROTECTED]> a écrit :

[EMAIL PROTECTED] wrote:
Hi,

when I receive the 'messageSent' notification, what is its semantic?

Does it mean that the receiving end has received the message (from a
TCP point
of view, i.e. that all bytes have been received)?

Regards,

J-F

No, it only means that the message has been written to the
SocketChannel corresponding to the session. There's no guarantee that
the receiving side has received any of the message bytes yet.

/Niklas

Thanks Niklas.

Some clarifications:

- Is it possible to know when message has really been received?

- If not why? Is it due to TCP/IP, OS, sockets, use of non-blocking I/O ?

Thanks,

J-F




Reply via email to