On Wed, Feb 3, 2010 at 10:07 PM, Muhammad Ichsan <[email protected]> wrote:
> On Wed, Feb 3, 2010 at 10:01 PM, Emmanuel LŽcharny <[email protected]> 
> wrote:
>> Muhammad Ichsan a écrit :
>>>
>>> On Wed, Feb 3, 2010 at 9:46 PM, Emmanuel LŽcharny <[email protected]>
>>> wrote:
>
>> Anyway, it's a bit complicated, and frankly, it's better not to send any
>> message here, unless you want the server to start pushing data to the client
>> (then add an executor in the chain)
>
> Thanks for this explanation.
>>>
>>>
>>> Please see this: http://pastebin.com/d18d1ea9b
>>>
>>
>> yes, so ?
>
> The server keep sending messages until all is sent (asynchronously)
> and then do the real send (the client receive the messages). The
> problem is just like the Trying.java I posted before. How to solve the
> problem?

I know I have to move the socket.write out of the sessionOpened()
method. But where? This is an acceptor.

Thanks

-- 
~The best men are men who benefit to others
http://michsan.web.id

Yang berkualitas memang beda rasanya!
http://rizqi-cookies.com

Reply via email to