Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 37357 invoked from network); 11 Jan 2006 14:10:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jan 2006 14:10:18 -0000 Received: (qmail 63694 invoked by uid 500); 11 Jan 2006 14:10:17 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 63653 invoked by uid 500); 11 Jan 2006 14:10:17 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 63642 invoked by uid 99); 11 Jan 2006 14:10:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2006 06:10:16 -0800 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [193.74.65.221] (HELO linux.easyhost.be) (193.74.65.221) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jan 2006 06:10:14 -0800 Received: (qmail 10739 invoked from network); 11 Jan 2006 15:09:47 +0100 Received: from localhost (127.0.0.1) by localhost with SMTP; 11 Jan 2006 15:09:47 +0100 Received: from 195.0.96.5 ([195.0.96.5]) by webmail.daune-consult.com (Horde MIME library) with HTTP; Wed, 11 Jan 2006 15:09:46 +0100 Message-ID: <20060111150946.g7spks5pm86o8coc@webmail.daune-consult.com> Date: Wed, 11 Jan 2006 15:09:46 +0100 From: daune.jf@daune-consult.com To: dev@directory.apache.org Subject: Re: [Mina] 'messageSent' semantic References: <20060111125642.nu35uq6lcicgk4ko@webmail.daune-consult.com> <43C4FD0C.9070302@trillian.se> In-Reply-To: <43C4FD0C.9070302@trillian.se> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Niklas Therning a =E9crit=A0: > 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