This is a relatively easy task.
The Sockets should definitely use a RawAllocator (foonathan) such that the memory is continuous for each type.
This is easily implemented and added.
- Node::CTOR : takes the
SocketFactory templated over the TConfig
- The
SocketFactory uses a internally a RawAllocator (templated) which is used for the allocation of the Socket.
This is a relatively easy task.
The Sockets should definitely use a RawAllocator (foonathan) such that the memory is continuous for each type.
This is easily implemented and added.
SocketFactorytemplated over theTConfigSocketFactoryuses a internally a RawAllocator (templated) which is used for the allocation of the Socket.