Gordon Ross wrote:

> I don't really care what error the recv loop gets.  The typical
> real-life cases are: (1) server shutdown, we get a FIN, and
> (2) server crash, and we get an RST when it comes back up.
> 
> It would be good enough for this test if smbiod gets just about
> any error from the recv call, i.e. ECONNRESET, EHOSTUNREACH

Remember that a FIN does not result in any error, it results in EOF,
i.e. a zero byte read.

-- 
blu

It's bad civic hygiene to build technologies that could someday be
used to facilitate a police state. - Bruce Schneier
----------------------------------------------------------------------
Brian Utterback - Solaris RPE, Sun Microsystems, Inc.
Ph:877-259-7345, Em:brian.utterback-at-ess-you-enn-dot-kom
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to