For Programmers: Free Programming Magazines  


Home > Archive > Java Help > April 2004 > blocking and non-blocking SocketChannel









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author blocking and non-blocking SocketChannel
xEM

2004-04-27, 3:12 pm

I have non-blocking SocketChannel on server side, and blocking on
client side. Is call channel.write(buffer) on client will block ?

--
pozdr.;)
~xEM
xEM

2004-04-27, 3:52 pm

On 2004-04-27, xEM <me@o2.pl> wrote:
> I have non-blocking SocketChannel on server side, and blocking on
> client side. Is call channel.write(buffer) on client will block ?
>


....And what will happend with data (buffer contents) when i on server
side i call channel.write(buffer) in the moment when a client isn't in
blocking call channel.read(buffer) ?

--
pozdr.;)
~xEM
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com