harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: [classlib][LUNI | NIO] How to write stable tests for blocking write/read operations of Socket and SocketChannel
Date Sat, 24 Jun 2006 22:13:08 GMT


Tim Ellison wrote:
> 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.

Yah, I figured.  I need to read the thread and figure out what his issue
is...

geir

> 
> Regards,
> Tim
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message