From: davlet_panech (davlet_panech_at_[hidden])
Date: 2002-03-01 09:22:54
--- In boost_at_y..., jk_at_s... wrote:
> 25 Feb 2002 04:54:20 +0300 mfdylan wrote:
> >Error handling almost has to be done with exceptions - and note
> >basically all socket errors except EWOULDBLOCK mean the socket is
> >longer usuable anyway.
> Not exactly. There is also EINTR condition, and the socket is still
> usable after that; and there are ENOBUFS, ENOMEM, EMSGSIZE for
> which are restartable too - when there is memory shortage, all you
> to do is just repeat after some reasonable delay. Furthermore, after
> EPIPE the socket is unusable but it is hardly can be considered as
Yes, except that at least some of these conditions do not apply to
non-unices (e.g., there is no EPIPE or EINTR on windows).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk