|
FiberIO
Fiber-based C++ network library
|
Namespaces | |
| detail | |
Classes | |
| class | address_family_not_supported_error |
| Thrown when e.g. trying to use IPv6 and it's not supported on the system. More... | |
| class | io_error |
| This is thrown on I/O errors. More... | |
| class | server_socket |
| Server socket for listening for incoming connections. More... | |
| class | socket |
| Client socket for communicating over a network and opening connections. More... | |
| class | socket_closed_error |
| This is thrown when something fails because the connection was closed. More... | |
Typedefs | |
| using | socket_stream = boost::iostreams::stream< fiberio::detail::socket_device > |
| std::basic_iostream type for reading/writing to a socket More... | |
| using | socket_streambuf = boost::iostreams::stream_buffer< fiberio::detail::socket_device > |
| std::basic_streambuf type for reading/writing to a socket More... | |
Functions | |
| void | use_on_this_thread () |
| Call this first thing on a thread to use FiberIO on that thread. More... | |
| using fiberio::socket_stream = typedef boost::iostreams::stream<fiberio::detail::socket_device> |
std::basic_iostream type for reading/writing to a socket
Takes a fiberio::socket as constructor argument. See the C++ standard for how to use a basic_iostream and Boost.IOStreams for implementation details.
Definition at line 60 of file iostream.hpp.
| using fiberio::socket_streambuf = typedef boost::iostreams::stream_buffer<fiberio::detail::socket_device> |
std::basic_streambuf type for reading/writing to a socket
Takes a fiberio::socket as constructor argument. See the C++ standard for how to use a basic_streambuf and Boost.IOStreams for implementation details.
Definition at line 68 of file iostream.hpp.
| void fiberio::use_on_this_thread | ( | ) |
Call this first thing on a thread to use FiberIO on that thread.
1.8.14