04-23-07 12:17 AM
On Sat, 21 Apr 2007 18:48:56 -0700, David Schwartz wrote:
> On Apr 21, 4:32 am, skaller <skal...@users.sf.net> wrote:
>
> Isn't this the default behavior when you call 'close' on a non-
> blocking socket?
>
> DS
Linux discards the internal buffer contents immediately.
That's not what I expected but it does seem to happen ;(
I have tried with non-blocking sockets and they do the
right thing, and I have got nice behaviour at the moment
by adding a 5 second delay between shutdown and close
on non-blocking sockets. But that is not very nice ;(
--
/home/skaller/.signature
[ Post a follow-up to this message ]
|