setWriteTimeout sets the TCP option for write timeout. So in your example, if you don't receive a SYN packet from the remote host within 10 seconds from sending a packet, the OS will timeout the TCP connection.
setIdleTime tells MINA to initiate an idle event when the session is idle after the specified amount of time for the specified operation (read, write, or both). Does that help? -Mike On 7/27/07, mat <[EMAIL PROTECTED]> wrote: > What is the difference between SetWriteTimeout(10) and SetIdleTime( > IdleStatus.WRITER_IDLE, 10)?. SetWriteTimeout(10) = fail to write remote > peer in 10 secs and SetIdleTime(IdleStatus.WRITER_IDLE, 10) = nothing to be > sent in 10 secs? Am I right? >
