|
Boost : |
From: Hugo Duncan (hugoduncan_at_[hidden])
Date: 2002-11-23 16:18:29
Thorsten,
On Sat, 23 Nov 2002 23:57:56 +0100, Thorsten Ottosen <nesotto_at_[hidden]> wrote:
> socket_base::initialise();
> ....
> socket.close();
> socket_base::finalise();
>
> Why doesn't this happen in the constructor/destructor of some object?
Basically because I am not sure of the requirements for initialisation
and finalisation. I know Winsock2 requires initialisation.
Any other platform?
This is really implementation detail that should happen automatically
in the final design.
Hugo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk