Thanks Richard, I was wandering the strand real role, thanks for the
explanation.
As you pointed out the two life time static buffers one for read one
for write should be the same as the life time of the socket attached
to each session. In a server, there could be more than thousand
session connections, in terms of resource management, would you think
it is good or bad idea if to use a global buffer pool management class
so the global buffers can be shared by all sessions?
One thing is clear, that a fixed size array like boost::array