This defines adapter classes for converting from the tcp<> class to the abstractions that applications use. Still very inefficient due to impedance mismatch between the data types used.
18 lines
230 B
C++
18 lines
230 B
C++
/*
|
|
* Copyright (C) 2014 Cloudius Systems, Ltd.
|
|
*/
|
|
|
|
#ifndef STACK_HH_
|
|
#define STACK_HH_
|
|
|
|
#include "core/reactor.hh"
|
|
|
|
namespace net {
|
|
|
|
std::unique_ptr<networking_stack>
|
|
create_native_networking_stack();
|
|
|
|
}
|
|
|
|
#endif /* STACK_HH_ */
|