directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From daune...@daune-consult.com
Subject Re: [Mina] 'messageSent' semantic
Date Wed, 11 Jan 2006 14:09:46 GMT
Niklas Therning <niklas@trillian.se> a écrit :

> daune.jf@daune-consult.com 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





Mime
View raw message