Geir Magnusson Jr wrote:
> You can't force a flush on the TCP stack, as it's pushing across the
> network, and has to handle retries, fragmentation, etc.

Agreed, you cannot push it all the way through the network.

> What I meant was mock to keep the OS out of it.
> 
> However, I don't understand the exact problem, so will re-read the thread...

In this case Andrew is testing SocketChannel, so mock will get so far,
but I think he does need to test 'real' OS IO too.

Regards,
Tim

-- 

Tim Ellison ([EMAIL PROTECTED])
IBM Java technology centre, UK.

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to